Point to Point Channel

Camel supports the Point to Point Channel from the EIP patterns using the following components

  • SEDA for in-VM seda based messaging

  • JMS for working with JMS Queues for high performance, clustering and load balancing

  • JPA for using a database as a simple message queue

  • XMPP for point-to-point communication over XMPP (Jabber)

  • and others

image

The following example demonstrates point to point messaging using the JMS component

Samples

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

And in XML:

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