HTTP Consumer timeout handling is incorrect
-------------------------------------------

                 Key: SMXCOMP-866
                 URL: https://issues.apache.org/jira/browse/SMXCOMP-866
             Project: ServiceMix Components
          Issue Type: Bug
          Components: servicemix-http
    Affects Versions: 2011.01, 2010.02
            Reporter: Jean-Baptiste Onofré
             Fix For: 2011.02


The HTTP component is not able to handle async correctly:

2011-03-24 10:31:14,598 | DEBUG | pool-flow.seda.servicemix-eip-thread-32 | 
HttpComponent            | emix.common.AsyncBaseLifeCycle  561 | Received 
exchange: status: Active, role: consumer
2011-03-24 10:31:14,598 | DEBUG | pool-flow.seda.servicemix-eip-thread-32 | 
HttpComponent            | emix.common.AsyncBaseLifeCycle  561 | Received 
exchange: status: Active, role: consumer
2011-03-24 10:31:14,599 | DEBUG | pool-flow.seda.servicemix-eip-thread-32 | 
HttpComponent            | emix.common.AsyncBaseLifeCycle  623 | Retrieved 
correlation id: ID:XX.XX.XX.XX-12ee4f371b6-11:559
2011-03-24 10:31:14,599 | DEBUG | pool-flow.seda.servicemix-eip-thread-32 | 
HttpComponent            | emix.common.AsyncBaseLifeCycle  623 | Retrieved 
correlation id: ID:XX.XX.XX.XX-12ee4f371b6-11:559
2011-03-24 10:31:14,600 | ERROR | pool-flow.seda.servicemix-eip-thread-32 | 
HttpComponent            | emix.common.AsyncBaseLifeCycle  537 | Error 
processing exchange InOut[
  id: ID:XX.XX.XX.XX-12ee4f371b6-11:559
  status: Active
  role: consumer
  service: {http://my}content-based-router5
  endpoint: content-based-router5
  operation: {http://my]operation
  in: <?xml version="1.0" encoding="UTF-8"?><ns1...
]
java.lang.Exception: HTTP request has timed out
        at 
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:98)
        at 
org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:400)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:598)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:535)
        at 
org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
        at 
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:632)
        at 
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:185)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to