camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <aka...@fusesource.com>
Subject Re: Maximum Number of Routes
Date Fri, 01 Jul 2011 13:34:16 GMT
Hi,

Instead of creating hundreds of routes at runtime, why not limit it to
hundred of endpoints. Endpoints are cheap, easily created, and have no
lifecycle/performance implications.

It would be far better to create a single route that dispatches the message
to a bean which then uses a ProducerTemplate to farm out the message
exchnage to any number of endpoints.

It is far more scalable and does not have a chance to overrun your system
with routes.

Cheers,

Ashwin... 

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
CamelOne 2011: http://fusesource.com/camel2011 
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/Maximum-Number-of-Routes-tp4539803p4542157.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message