Hi,
I have created different routes hosted in two different packages.
Package : com.myApplication.routing.in
Class : RouteA
Class : RouteB
...
Package : com.myApplication.routing.out
Class : RouteC
In the RouteB and RouteC, we have a common endpoint which is
"activemq:queue:myqueue".
During the launch of Camel, I have the following error :
<camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring">
<package>com.myapplication.routing.in</package>
<package>com.myapplication.routing.out</package>
</camelContext>
43javax.management.InstanceAlreadyExistsException:
org.apache.camel:context=dell-charles/camel,[EMAIL PROTECTED],type=route,[EMAIL
PROTECTED]
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(Unknown Source)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(Unknown
Source)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown
Source)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown
Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source)
How to solve this ?
Regards,
Charles Moulliard
-----
Enterprise Architect
Xpectis
12, route d'Esch
L-1470 Luxembourg
Phone +352 25 10 70 470
Mobile +352 621 45 36 22
e-mail : [EMAIL PROTECTED]
web site : www.xpectis.com
--
View this message in context:
http://www.nabble.com/How-can-avoid-to-have-such-error-message-%22instanceAllreadyExistsException%22---tp18503700s22882p18503700.html
Sent from the Camel - Users mailing list archive at Nabble.com.