JmsEmptyQueue Function

Action

Empties the given queue of a message.

Include file

Jms.bdh

Syntax

JmsEmptyQueue( in sJndiDestinationName : string );
Parameter Description
sJndiDestinationName The Jndi destination name

Return value

Returns the given header or message property of the current message.

Example

transaction TExampleEmptyQueue
  begin
      JmsEmptyQueue(csQueue);
end TExampleEmptyQueue;

Sample scripts

JmsSample.bdf, JmsSample.java