Message Channel
Camel supports the Message Channel from the EIP patterns .
The Message Channel is an internal
implementation
detail of
the
Endpoint
interface, where all
interactions of the channel is via the
Endpoint
.
Example
In JMS , Message Channels are represented by topics and queues such as the following:
jms:queue:foo
The following shows a little route snippet:
- Java
-
from("file:foo") .to("jms:queue:foo") - XML
-
<route> <from uri="file:foo"/> <to uri="jms:queue:foo"/> </route>