In Camel, the support of this EIP is dedicated to the components.
Some components are designed to implement and support this EIP.
For instance, this is the case for:
The SEDA and VM components, for communication between routes
The JMS component, when working with JMS queues
To illustrate the Point To Point Channel EIP, we create three routes using the Camel Blueprint DSL:
The first route starts with a timer and produces a message in a JMS queue
The second and third routes consume messages from the JMS queue
We will see that one message will only be consumed by one consumer route.
We create the following
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <bean id="amqConnectionFactory...