camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendy Irawan <he...@soluvas.com>
Subject Implementing Publish Subscribe Channel
Date Sat, 05 Dec 2009 09:31:08 GMT

Hi,

I was trying to make a publish-subscribe mechanism by using (only)
@EndpointInject and @Consume, so that I can have somewhat POJO style routing
with minimal XML configuration.

It turned out that this didn't work because multiple consumers don't work
with this setup.

After reading http://camel.apache.org/publish-subscribe-channel.html it
seems that there are only three ways Camel supports Publish Subscribe:
1. JMS Topic
2. XMPP Room
3. Explicit routes via multicast

Option 1 and 2 is overkill because it requires external server.

So the functionality is basically there in Camel (option 3), however, I
cannot do it dynamically because it involves explicitly setting up the
routes, instead of doing it dynamically via @Consume.

Spring Integration seem to support this by allowing to create a
PublishSubscribeChannel explicitly.

Is it planned to support easy "dynamic" Publish Subscribe Channel via
annotations (i.e. without explicit configuration)? Thank you.
-- 
View this message in context: http://old.nabble.com/Implementing-Publish-Subscribe-Channel-tp26654086p26654086.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message