This is really some kind of orchestration.
There's no simple built-in way to do that but
to use a BPEL process or any orchestration
service (you can easily write your own in java
using servicemix-jsr181, servicemix-bean, servicemix-script,
etc ...).
Using the EIP component is a solution but you will miss
a simple pattern which would send back the request in case
a condition is not met (something like an enhanced EIP filter
that works for InOut exchanges).
On 3/30/07, csturtz <[EMAIL PROTECTED]> wrote:
Question: is it possible to use nested rules, and one of those rules end
the
routing chain and return to the original consumer?
Here's what i need:
1. I always want to start out going to ServiceEngine1
2. After SE1, if a condition is met, go to ServiceEngine2
else, return to consumer
3. After SE2, if a condition is met, go to SE3
else, return to consumer
4. After SE3, if a condition is met, go to ServiceEngine4
else, return to consumer
Thanks!
chad
--
View this message in context:
http://www.nabble.com/eip-content-based-routing-question-tf3493933s12049.html#a9758731
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/