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

Diwakar updated SMXCOMP-869:
----------------------------

    Attachment: patchfile.txt
    
> servicemix-eip-2010.02 - ExchangeStatus not set to DONE
> -------------------------------------------------------
>
>                 Key: SMXCOMP-869
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-869
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-eip
>    Affects Versions: 2010.02
>         Environment: Linux - servicemix 3.3.2
>            Reporter: Sandeep T H
>             Fix For: 2012.01
>
>         Attachments: patchfile.txt, patchfile.txt
>
>
> The splitter functionality of the EIP component is not the setting the 
> ExchangeStatus to DONE resulting in the active message exchanges in the NMR.
> In the below sample SA, where the flow is like file-poller -> eip-splitter -> 
> file-sender.
> Here after the file-poller sends the file to the splitter which in turn based 
> on xpath sends it to file-sender.
> The file-sender after writing the file to the file-system sets the 
> ExchangeStatus to DONE which is then forwarded to the splitter but here the 
> splitter loses it and it is not forwarded to the file-poller.So the file in 
> the polling directory is not deleted, the bigger issue is the exchange 
> remains active.
> LOGS:
> 2011-04-20T19:34:43.854+0530 | pm186x169 | DEBUG | 
> pool-component.servicemix-file-thread-10 | FileComponent            | 
> icemix.file.FilePollerEndpoint  368 | Processing file 
> /home/splitter/poller/ne_reg_request_12345000000004001.xml
> 2011-04-20T19:34:43.864+0530 | pm186x169 | DEBUG | 
> pool-component.servicemix-file-thread-10 | FileComponent            | 
> emix.common.AsyncBaseLifeCycle  653 | Created correlation id: 
> ID:10.58.186.169-12f7339a520-15:0
> 2011-04-20T19:34:43.865+0530 | pm186x169 | DEBUG | 
> pool-component.servicemix-file-thread-10 | DeliveryChannelImpl      | 
> .messaging.DeliveryChannelImpl  435 | Send ID:10.58.186.169-12f7339a520-15:0 
> in DeliveryChannel{servicemix-file}
> 2011-04-20T19:34:43.867+0530 | pm186x169 | DEBUG | 
> pool-component.servicemix-file-thread-10 | SecuredBroker            | 
> mix.jbi.security.SecuredBroker   66 | send exchange with secure broker
> 2011-04-20T19:34:43.867+0530 | pm186x169 | DEBUG | 
> pool-component.servicemix-file-thread-10 | SecuredBroker            | 
> mix.jbi.security.SecuredBroker   80 | service name 
> :{urn:servicemix:tutorial}splitter
> 2011-04-20T19:34:43.868+0530 | pm186x169 | DEBUG | 
> pool-component.servicemix-file-thread-10 | SecuredBroker            | 
> mix.jbi.security.SecuredBroker   81 | operation name :null
> 2011-04-20T19:34:43.868+0530 | pm186x169 | DEBUG | 
> pool-component.servicemix-file-thread-10 | SedaFlow                 | 
> emix.jbi.nmr.flow.AbstractFlow  119 | Called Flow send
> 2011-04-20T19:34:43.896+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | SedaQueue                | 
> .jbi.nmr.flow.seda.SedaQueue$1  132 | 
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@211c7a72 dequeued 
> exchange: InOnly[
>   id: ID:10.58.186.169-12f7339a520-15:0
>   status: Active
>   role: provider
>   service: {urn:servicemix:tutorial}splitter
>   endpoint: split
>   in: <?xml version="1.0" encoding="UTF-8"?><message>
> <tree>
>       <a>ABCD</a>
>       <b>XYZ</b>
>       <c>1234</c>
> </tree>
> </message>
> ]
> 2011-04-20T19:34:43.898+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | EIPComponent             | 
> emix.common.AsyncBaseLifeCycle  561 | Received exchange: status: Active, 
> role: provider
> 2011-04-20T19:34:43.898+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | EIPComponent             | 
> emix.common.AsyncBaseLifeCycle  623 | Retrieved correlation id: 
> ID:10.58.186.169-12f7339a520-15:0
> 2011-04-20T19:34:43.899+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | MemoryStore              | 
> cemix.store.memory.MemoryStore   51 | Storing object with id: 
> ID:10.58.186.169-12f7339a520-15:0
> 2011-04-20T19:34:43.919+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | MemoryStore              | 
> cemix.store.memory.MemoryStore   51 | Storing object with id: 
> ID:10.58.186.169-12f7339a520-15:0.acks
> 2011-04-20T19:34:43.919+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | EIPComponent             | 
> emix.common.AsyncBaseLifeCycle  659 | Correlation id retrieved from 
> ThreadLocal: ID:10.58.186.169-12f7339a520-15:0
> 2011-04-20T19:34:43.919+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | DeliveryChannelImpl      | 
> .messaging.DeliveryChannelImpl  435 | Send ID:10.58.186.169-12f7339a520-18:0 
> in DeliveryChannel{servicemix-eip}
> 2011-04-20T19:34:43.924+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | SecuredBroker            | 
> mix.jbi.security.SecuredBroker   66 | send exchange with secure broker
> 2011-04-20T19:34:43.924+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | SecuredBroker            | 
> mix.jbi.security.SecuredBroker   80 | service name 
> :{urn:servicemix:tutorial}filesender
> 2011-04-20T19:34:43.925+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | SecuredBroker            | 
> mix.jbi.security.SecuredBroker   81 | operation name :null
> 2011-04-20T19:34:43.925+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-eip-thread-1 | SedaFlow                 | 
> emix.jbi.nmr.flow.AbstractFlow  119 | Called Flow send
> 2011-04-20T19:34:43.938+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | SedaQueue                | 
> .jbi.nmr.flow.seda.SedaQueue$1  132 | 
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@7e64cfe0 dequeued 
> exchange: InOnly[
>   id: ID:10.58.186.169-12f7339a520-18:0
>   status: Active
>   role: provider
>   service: {urn:servicemix:tutorial}filesender
>   endpoint: filesender
>   in: <?xml version="1.0" encoding="UTF-8"?><tree>
>       <a>ABCD</a>
>       <b>XYZ</b>
>       <c>1234</c>
> </tree>
> ]
> 2011-04-20T19:34:43.938+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | FileComponent            | 
> emix.common.AsyncBaseLifeCycle  561 | Received exchange: status: Active, 
> role: provider
> 2011-04-20T19:34:43.939+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | FileComponent            | 
> emix.common.AsyncBaseLifeCycle  623 | Retrieved correlation id: 
> ID:10.58.186.169-12f7339a520-15:0
> 2011-04-20T19:34:43.986+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | FileComponent            | 
> icemix.file.FileSenderEndpoint  114 | Writing to file: 
> /home/splitter/sender/13033082839398838700637039316225tmp
> 2011-04-20T19:34:44.016+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | SimpleEndpoint           | 
> ommon.endpoints.SimpleEndpoint   81 | SimpleEndpoint.done called: 
> 2011-04-20T19:34:44.016+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | DeliveryChannelImpl      | 
> .messaging.DeliveryChannelImpl  435 | Send ID:10.58.186.169-12f7339a520-18:0 
> in DeliveryChannel{servicemix-file}
> 2011-04-20T19:34:44.017+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | SecuredBroker            | 
> mix.jbi.security.SecuredBroker   66 | send exchange with secure broker
> 2011-04-20T19:34:44.017+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-1 | SedaFlow                 | 
> emix.jbi.nmr.flow.AbstractFlow  119 | Called Flow send
> 2011-04-20T19:34:44.019+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-2 | SedaQueue                | 
> .jbi.nmr.flow.seda.SedaQueue$1  132 | 
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@7c830624 dequeued 
> exchange: InOnly[
>   id: ID:10.58.186.169-12f7339a520-18:0
>   status: Done
>   role: consumer
>   service: {urn:servicemix:tutorial}filesender
>   endpoint: filesender
>   in: <?xml version="1.0" encoding="UTF-8"?><tree>
>       <a>ABCD</a>
>       <b>XYZ</b>
>       <c>1234</c>
> </tree>
> ]
> 2011-04-20T19:34:44.019+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-2 | EIPComponent             | 
> emix.common.AsyncBaseLifeCycle  561 | Received exchange: status: Done, role: 
> consumer
> 2011-04-20T19:34:44.019+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-2 | EIPComponent             | 
> emix.common.AsyncBaseLifeCycle  623 | Retrieved correlation id: 
> ID:10.58.186.169-12f7339a520-15:0
> 2011-04-20T19:34:44.019+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-2 | MemoryStore              | 
> cemix.store.memory.MemoryStore   62 | Loading object with id: 
> ID:10.58.186.169-12f7339a520-15:0.acks
> 2011-04-20T19:34:44.020+0530 | pm186x169 | DEBUG | 
> pool-flow.seda.servicemix-file-thread-2 | MemoryStore              | 
> cemix.store.memory.MemoryStore   51 | Storing object with id: 
> ID:10.58.186.169-12f7339a520-15:0.acks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to