Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-723

ServiceMixClientFacade should not call "done" method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0.1, 3.1
    • servicemix-core
    • None
    • JSE 6, SMX 3.0

    Description

      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.
      ...
      -------------------------------------------------------------------------------------------------------------

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            moraleslos Los Morales
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: