JadeGenericQueue Class

The JadeGenericQueue class encapsulates a destination to which messages can be sent and from which messages can be retrieved. A transient instance of this class is created by invoking the openQueue method on a transient instance of the JadeMessagingFactory class. The method returns a queue for the specified transport, which is ready to be accessed and used in the specified ways (sending messages, retrieving messages, or inquiring on message properties).

The following example shows how a queue is created.

vars
    factory : JadeMessagingFactory;
begin
    create factory transient;
    myQueue := factory.openQueue("JadeMQ://localnode/TestQ",
                                 "Access=Public; MustExist; Usage=Inq");
epilog
    delete factory;
end;

For details about the use of the JADE messaging framework, see Chapter 15, "Using the Messaging Framework", in the JADE Developer’s Reference.

For details about the properties and methods defined in the JadeGenericQueue class, see "JadeGenericQueue Class Constants", "JadeGenericQueue Properties", and "JadeGenericQueue Methods", in the following subsections.

For details about passing variable parameters to methods, see "Passing Variable Parameters to Methods", in Chapter 1 of the JADE Developer’s Reference.

Object

(None)