Publish Subscribe Channel
Camel supports the Publish Subscribe Channel from the EIP patterns using the following components
- JMS for working with JMS Topics for high performance, clustering and load balancing
- XMPP when using rooms for group communication
Using Routing Logic
Another option is to explicitly list the publish-subscribe relationship in your routing logic; this keeps the producer and consumer decoupled but lets you control the fine grained routing configuration using the DSL or Xml Configuration.
Using the Fluent Builders
Error formatting macro: snippet: java.lang.NullPointerException
Using the Spring XML Extensions
Error formatting macro: snippet: java.lang.NullPointerException