Yes, I want to specify a specific point in my flow where I want load-balancing 
to occur. In my case, I would like it to occur at a specific EIP Pipeline 
endpoint. So, when the Pipeline creates the InOut exchange for the transformer, 
I would like the flow on that specific exchange set to JMSFlow. Does that make 
sense? Where you envisioning I define a smx-jms BC instead for those 
load-balancing points? If so, this is much more complex to configure since both 
jms-provider and jms-consumer endpoints must be configured to support this 
scenario. It would be much easier for my users to set a boolean "clustered" 
property on the Pipeline to control this behavior.

- Ron

----- Original Message ----
From: Guillaume Nodet <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, May 8, 2008 4:09:05 AM
Subject: Re: Controlling the flow used for an EIP:Pipeline transformer

What about using a jms flow configured at specfic points in your flow
to control where the load balancing can occur ?
Using it at each step is quite inefficient imho ...

On Wed, May 7, 2008 at 7:53 AM, Ron Gavlin <[EMAIL PROTECTED]> wrote:
> I have a cluster of servicemix nodes with a homogenous deployment of 
> endpoints across the cluster. I have SEDA and JMSFlow enabled on all nodes in 
> the cluster. I would like to ensure one of my EIP Pipeline transformers uses 
> JMSFlow instead of SEDA to explicitly force JMS-based load balancing to occur 
> across the cluster. I don't see a mechanism currently in servicemix-eip to 
> provide this level of control. Am I correct? Assuming I am correct, would it 
> make sense to add a "clustered" attribute to the EIP Pipeline endpoint, for 
> example, to ensure that the transformer MessageExchange gets created with the 
> "clustered" QOS set so that JMSFlow gets used rather than SEDA? Let me know 
> if this makes sense.
>
>  - Ron
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to