Product Information > JADE Error Messages and System Messages > 31700 through 31899 - Messaging Framework Errors > 31739 - Queue already exists - create refused

31739   Queue already exists - create refused

This error occurs if you try to open a queue with the Create=Always option (or equivalently the MustCreate option) and the queue already exists.

In the following example, the openQueue method of the JadeMessagingFactory class is used to open a queue and the queue already exists.

vars
    factory : JadeMessagingFactory;
begin
    create factory transient;
    myQueue := factory.openQueue("JadeMQ://localnode/TestQ", "MustCreate");
epilog
    delete factory;
end;

Action

Correct your code.