You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Andrè <mo...@web.de> on 2011/07/04 12:45:25 UTC

possible to route "bean invocation messages"?

hey, 
i have a topic and two consumer have subscribed to it, the producer of the
topic is a proxy.
so the bean invocation is proxied to both subscribers, but what if i want
that only subscriber A should answer on this topic and the other (b) just
listens and consumes also the "real payload", which is send after the
invocation ...
now B gets "class not found"s  cause the bean which is placed on A is not
found on B....

--
View this message in context: http://camel.465427.n5.nabble.com/possible-to-route-bean-invocation-messages-tp4549632p4549632.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: possible to route "bean invocation messages"?

Posted by Ashwin Karpe <ak...@fusesource.com>.
Hi,

You might want to use an enterprise integration pattern (EIP) such as
wiretap  http://camel.apache.org/wire-tap.html
http://camel.apache.org/wire-tap.html  for your usecase. A Topic by
definition sends a copy of the message to all Subscribers. I am not sure
what your route look like, however, the issue seems to be they way you have
crafted your route/solution.

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
CamelOne 2011: http://fusesource.com/camel2011 
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/possible-to-route-bean-invocation-messages-tp4549632p4551107.html
Sent from the Camel - Users mailing list archive at Nabble.com.