camel-users mailing list archives

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

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.



Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

CamelOne 2011: 
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message