Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-866

HTTP Consumer timeout handling is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • 2010.02, 2011.01
    • 2011.02
    • servicemix-http
    • None

    Description

      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)

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: