Sending a QAnywhere message to a JMS connector

A QAnywhere client can send a message to a JMS system by setting the address to the following value:

connector-address\JMS-queue-name

The connector-address is the value of the connector property ianywhere.connector.address, while JMS-queue-name is the name used to look up the JMS queue or topic using the Java Naming and Directory Interface.

If your JMS-queue-name contains a backslash, you must escape the backslash with another backslash. For example, a queue called qq in the context ss should be specified as ss\\qq.

// C# example 
QAMessage msg;
QAManager mgr;
...
mgr.PutMessage( @"ianywhere.connector.wsmqfs\ss\\qq",msg);
// C++ example
QAManagerBase *mgr;
QATextMessage *msg;
...
mgr->putMessage("ianywhere.connector.easerver\\ss\\\\qq", msg);
 Example
 See also