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 .

image

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

  • XML

  • YAML

from("file:foo")
    .to("jms:queue:foo")
<route>
  <from uri="file:foo"/>
  <to uri="jms:queue:foo"/>
</route>
- route:
    from:
      uri: file
      parameters:
        directoryName: foo
      steps:
        - to:
            uri: jms
            parameters:
              destinationType: queue
              destinationName: foo