You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Guillaume Nodet <gn...@gmail.com> on 2007/04/02 11:40:54 UTC

Re: eip content-based-routing question

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 <cs...@gestalt-llc.com> 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/