Messaging Bridge
Camel supports the Messaging Bridge from the EIP patterns .
How can multiple messaging systems be connected so that messages available on one are also available on the others?
Use a Messaging Bridge, a connection between messaging systems, to replicate messages between systems.
You can use Camel to bridge different systems using Camel Components and bridge the endpoints together in a Route .
Another alternative is to bridge systems using Change Data Capture .
Example
A basic bridge between two messaging systems (such as WebsphereMQ and JMS broker) can be done with a single Camel route:
- Java
-
from("mq:queue:foo") .to("jms:queue:foo") - XML
-
<route> <from uri="mq:queue:foo"/> <to uri="jms:queue:foo"/> </route>