You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2008/11/03 10:21:05 UTC

[jira] Resolved: (SM-1671) DeploymentException on shutdown when multiple routes target the same endpoint

     [ https://issues.apache.org/activemq/browse/SM-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen resolved SM-1671.
---------------------------------

    Resolution: Fixed

Fixed in http://svn.eu.apache.org/viewvc?view=rev&revision=710028

> DeploymentException on shutdown when multiple routes target the same endpoint
> -----------------------------------------------------------------------------
>
>                 Key: SM-1671
>                 URL: https://issues.apache.org/activemq/browse/SM-1671
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: servicemix-camel-2008.01
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>            Priority: Minor
>             Fix For: servicemix-camel-2008.02
>
>
> When multiple routes in a RouteBuilder target the same JBI endpoint, a DeploymentException is thrown upon shutdown:
> {noformat}
> javax.jbi.management.DeploymentException: Endpoint not found in the SU for key: {http://activemq.apache.org/camel/schema/jbi}consumer:ID:10.10.10.10-11d60d81f95-27:0
> 	at org.apache.servicemix.common.DefaultServiceUnit.removeEndpoint(DefaultServiceUnit.java:201)
> 	at org.apache.servicemix.common.DefaultComponent.removeEndpoint(DefaultComponent.java:301)
> 	at org.apache.servicemix.camel.JbiEndpoint$JbiProducer.stop(JbiEndpoint.java:82)
> 	at org.apache.camel.processor.SendProcessor.doStop(SendProcessor.java:92)
> 	at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:57)
> 	at org.apache.camel.util.ServiceHelper.stopServices(ServiceHelper.java:110)
> 	at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:60)
> 	at org.apache.camel.util.ServiceHelper.stopServices(ServiceHelper.java:78)
> 	at org.apache.camel.processor.DelegateProcessor.doStop(DelegateProcessor.java:72)
> 	at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:57)
> 	at org.apache.camel.util.ServiceHelper.stopServices(ServiceHelper.java:78)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.doStop(DelegateAsyncProcessor.java:58)
> 	at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:57)
> 	at org.apache.camel.util.ServiceHelper.stopServices(ServiceHelper.java:78)
> 	at org.apache.camel.impl.DefaultConsumer.doStop(DefaultConsumer.java:81)
> 	at org.apache.servicemix.camel.JbiEndpoint$1.doStop(JbiEndpoint.java:152)
> 	at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:57)
> 	at org.apache.camel.util.ServiceHelper.stopServices(ServiceHelper.java:110)
> 	at org.apache.camel.impl.DefaultCamelContext.doStop(DefaultCamelContext.java:646)
> 	at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:57)
> 	at org.apache.servicemix.camel.JbiTestSupport.tearDown(JbiTestSupport.java:148)
> 	at junit.framework.TestCase.runBare(TestCase.java:130)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.