Running a camel blueprint.xml fails with the java.rmi.AlreadyBoundException: jmxrmi/camel
Issue
-
If I run a camel blueprint.xml couple of times as a Local Camel Context (without tests) - it fails with the
java.rmi.AlreadyBoundException: jmxrmi/camel
. I have to restart the JBoss Dev Studio to bypass the issue. -
When I run the code I get Cannot bind to URL [rmi://localhost:1099/jmxrmi/camel]: javax.naming.NameAlreadyBoundException in local Eclipse environment.
Environment
- Red Hat JBoss Fuse 6.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.