ServiceMixClientFacade should not call "done" method ----------------------------------------------------
Key: SM-723 URL: https://issues.apache.org/activemq/browse/SM-723 Project: ServiceMix Issue Type: Bug Components: servicemix-core Affects Versions: 3.0 Environment: JSE 6, SMX 3.0 Reporter: Los Morales Fix For: 3.0 This was copied straight from the forum: ------------------------------------------------------------------------------------------------------------------ Everytime I use an async InOnly in one of my components, I get this error message: *********************************** java.lang.IllegalStateException: component is not owner at org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setStatus(MessageExchangeImpl.java:210) at org.apache.servicemix.client.ServiceMixClientFacade.done(ServiceMixClientFacade.java:198) at org.apache.servicemix.client.ServiceMixClientFacade.send(ServiceMixClientFacade.java:146) at com.test.integration.servicemix.ftp.EnhancedFTPPoller.sendAsyncFileMessage(ClientAPIUtil.java:109) at org.apache.servicemix.components.util.OutBinding.onMessageExchange(OutBinding.java:49) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:624) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:169) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:177) at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:227) ... **************************************** Now when I turn this InOnly exchange to be synchronous (sendSync(InOnly)), I don't see any of these errors. ... ------------------------------------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira