You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Alex Paransky <ap...@standardset.com> on 2015/01/09 20:19:20 UTC
How to implement Camel Request/Reply on a topic with multiple services?
So, I have a number of services. Each service handles a type of unique
Request. However, the service needs to "examine" the request before
knowing if it can service it. The client want's the request serviced, but
does not care to know who did the servicing.
I was thinking of using (ActiveMQ virtual) topic Camel's Request/Reply
pattern http://camel.apache.org/request-reply.html to implement this
interaction (because the client is waiting on a reply), but I am not sure
how to consume the message without returning a response. Specifically, a
service may realized that it cannot handle the Request it has just
received.
This may not even be the best approach to solving this issue, so any
comments on better approaches are welcome.
Thanks.
-AP_