Red Hat Training

A Red Hat training course is available for Red Hat Fuse

Chapter 123. Stomp

Stomp Component

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:
    <!-- use the same version as your Camel core version -->

URI format

Where destination is the name of the queue.


Property Default Description
brokerURL tcp://localhost:61613 The URI of the Stomp broker to connect to
login The username
passcode The password
You can append query options to the URI in the following format, ?option=value&option=value&...


Sending messages:
Consuming messages: