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.