Hi.

If you want to read from multiple sources, where do you know from which
source to read a pending message in case of a loadbalancer? Or are there
always messages you want to consume.
I would recommend to create a consumer for each source uri and push all
messages into a common queue and then you can go on with processing.

Regards
Markus

2010/10/8 Ashwin Karpe <aka...@fusesource.com>

>
> Hi,
>
> I have never seen this kind of load balancing requirement associated with
> consumers.
>
> Consumers are primarily listeners and by definition, passive. Load
> balancing
> is primarily done by clients (senders), mediating entities (Proxies,
> Brokers
> etc) or via repositories such as JNDI Naming Service that hand out load
> Balanced server object references.
>
> I am afraid there is no way to do this. Moreover, there are no patterns,
> examples, products or standards that does this (CORBA, J2EE, Web Services
> or
> otherwise).
>
> You need to re-visit your architecture at this point.
>
> Cheers,
>
> Ashwin...
>
>
> -----
> ---------------------------------------------------------
> Ashwin Karpe
> Apache Camel Committer & Sr Principal Consultant
> FUSESource (a Progress Software Corporation subsidiary)
> http://fusesource.com http://fusesource.com
>
> Blog: http://opensourceknowledge.blogspot.com
> http://opensourceknowledge.blogspot.com
> ---------------------------------------------------------
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Loadbalancer-for-consuming-tp3203497p3204016.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Markus Wolf, Developer
markus.w...@sinnerschrader.com

T +49.40.39 88 55 - 324

SinnerSchrader Deutschland GmbH
Völckersstraße 38, D-22765 Hamburg
Amtsgericht Hamburg HRB-Nr. 63663
Geschäftsführer: Matthias Schrader (Sprecher), Holger Blank,
Laurent Burdin, Thomas Dyckhoff, Chris Wallon
Büros: Hamburg, Frankfurt am Main

http://www.sinnerschrader.de | Creating Radical Relationships.

Reply via email to