Couldn't deploy >1 separate servicemix-camel service-units
----------------------------------------------------------
Key: SM-1191
URL: https://issues.apache.org/activemq/browse/SM-1191
Project: ServiceMix
Issue Type: Bug
Components: servicemix-camel
Affects Versions: 3.2
Reporter: Piotr Jagielski
When deploying second servicemix-camel service-unit following exception appears:
java.lang.IllegalStateException: An endpoint is already registered for key:
{http://activemq.apache.org/camel/schema/jbi}endpoint:camel:controlBus
at
org.apache.servicemix.common.Registry.registerEndpoint(Registry.java:55)
at
org.apache.servicemix.common.Registry.registerServiceUnit(Registry.java:68)
at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:73)
at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.