THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
You can specify all of the various configuration options of the JMS component after the destination name.
Usage
As AMQP component is inherited from JMS component, the usage of the former is almost identical to the latter:
Code Block | ||||
---|---|---|---|---|
| ||||
// Consuming from AMQP queue
from("amqp:queue:incoming").to(...);
// Sending message to the AMQP topic
from(...).to("amqp:topic:notify"); |
Using topics
To have using topics working with camel-amqp
you need to configure the component to use topic://
as topic prefix, as shown below:
...