camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deepu528 <deepu...@gmail.com>
Subject Routingslip vs Choice
Date Thu, 25 Jun 2015 00:33:24 GMT
Hi,

I'm new to Camel and trying to find a better approach for our requirement.
Sorry if this is a very basic question. Here is the requirement:

There will be a request property say source and based on this source, I've
to invoke a sequence of services which might differ for each source.

The direction is to use apache camel, no brms or drools. I was wondering if
I can externalize the service endpoints in a properties file and then use
@RoutingSlip annotation to return the comma separated services from the
properties file. But I was asked to make use of "choice" in apache camel.
But I feel it is hardcoding the steps in the routing xml.

Can you please suggest which is a better approach? Or is there any other
approach better than these?


Thanks,
Deepthi.





--
View this message in context: http://camel.465427.n5.nabble.com/Routingslip-vs-Choice-tp5768546.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message