Message Channel

Camel supports the Message Channel from the EIP patterns. The Message Channel is an internal implementation detail of the Endpoint interface and all interactions with the Message Channel are via the Endpoint interfaces.

image

Samples

In JMS, Message Channels are represented by topics and queues such as the following

jms:queue:foo

This message channel can be then used within the JMS component

And the following shows a little Java route snippet:

from("direct:foo")
    .to("jms:queue:foo")

And in XML:

<route>
  <from uri="direct:foo">
  <to uri="jms:queue:foo"/>
</route>