You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

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.


Example

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

Using the Fluent Builders

to("jms:queue:foo")


Using the Spring XML Extensions

<to uri="jms:queue:foo"/>

 

For more details see

Using This Pattern

If you would like to use this EIP Pattern then please read the Getting Started, you may also find the Architecture useful particularly the description of Endpoint and URIs. Then you could try out some of the Examples first before trying this pattern out.

  • No labels