component sonicmq - assimbly/gateway GitHub Wiki

The SonicMQ component sends messages to or receives messages from a SonicMQ broker. It is an extension on the SJMS component, so it inherits all options.

Note: Because it's pure JMS implementation it doesn't support multi-part (XQ) messages. If you just clearing a queue you can use the option allowNullBody=true. This will also pick multi-part messages.

Path

Name of queue or topic

Path Examples

For a queue named 'order' just add

order

For a topic named 'order' you must include the topic: prefix

topic:order

To-Endpoint-SonicMQ

Connection

In order to make a connection to a running broker you first need to create a "Sonic MQ connection". This connection is required.

Common options

When producer needs a "Reply_TO" to a temporary queue the following option need to be set:

exchangePattern=InOut

You may need to add this to both From and To endpoint when working with multiple queues.

For all options, see Camel documentation.