Available as of Camel 2.12
The stomp: component is used for communicating with Stomp compliant message brokers, like Apache ActiveMQ or ActiveMQ Apollo
Maven users will need to add the following dependency to their
pom.xml for this component:
Where destination is the name of the queue.
The URI of the Stomp broker to connect to
|host|| ||Camel 2.15.3/2.16: The virtual host|
|sslContextParameters||null||Camel 2.17: Reference to a |
org.apache.camel.util.jsse.SSLContextParameters in the Registry. The brokerURL should use ssl as protocol. See Using the JSSE Configuration Utility.
You can append query options to the URI in the following format,
Camel supports the Message Endpoint pattern using the Endpoint interface. Endpoints are usually created by a Component and Endpoints are usually referred to in the DSL via their URIs.
From an Endpoint you can use the following methods