You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Naira & Kobo <le...@gmail.com> on 2010/08/24 11:51:18 UTC

What EIP pattern would fit this

Hi Guys,

I have this complex integration that requires dynamic decision to be made at
some point. Here is the flow:

Let say I have endpoints A,B, C, D, E, F

The desired flow is

A -> {B->C->E; C->D->E} -> F


Where {B->C->E; C->D->E} is a dynamic routing endpoint.

The problem is, I would like to use camel but the closest thing to this in
camel is a Routing Slip. However, This is not flexible enough and decisions
cannot be taken in between a routing-slip endpoints (I might be wrong, but
that is as far as I can see).

I would however prefer to use a rule engine (drools engine to be specific),
but I have not seen any drool integration with camel. I will appreciate any
pointer or any thought on this concept as well.

Regards.
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/What-EIP-pattern-would-fit-this-tp2650977p2650977.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: What EIP pattern would fit this

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

Camel is fully integrated in ServiceMix. It means that you can use Camel 
in endpoints in the middle of others endpoints.
Maybe you can take a look at servicemix-drools and servicemix-osworkflow 
components which allow you to implement rules and workflow in endpoint. 
The drools or osworklow endpoints could be use directly in JBI or by 
Camel endpoints.

Another way is to programmaticaly implement your routing logic in a bean 
and expose it in ServiceMix using servicemix-bean component.

Regards
JB

On 08/24/2010 11:51 AM, Naira & Kobo wrote:
>
> Hi Guys,
>
> I have this complex integration that requires dynamic decision to be made at
> some point. Here is the flow:
>
> Let say I have endpoints A,B, C, D, E, F
>
> The desired flow is
>
> A ->  {B->C->E; C->D->E} ->  F
>
>
> Where {B->C->E; C->D->E} is a dynamic routing endpoint.
>
> The problem is, I would like to use camel but the closest thing to this in
> camel is a Routing Slip. However, This is not flexible enough and decisions
> cannot be taken in between a routing-slip endpoints (I might be wrong, but
> that is as far as I can see).
>
> I would however prefer to use a rule engine (drools engine to be specific),
> but I have not seen any drool integration with camel. I will appreciate any
> pointer or any thought on this concept as well.
>
> Regards.