Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository:

Memory leak when adding and removing routes at runtime

If you add and remove many routes at runtime, then take notice that JMX may take up memory when routes is added.
As Camel cannot 100% reclaim all mbeans when removing a route (some resources may be shared by other routes, etc).

Therefore its advised to disable JMX for new routes, by setting registerNewRoutes=false. See details at JMX.

© 2004-2015 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram