Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6137

Stuck exchanges/threads with JMS and asynchronous CXF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • jboss-fuse-6.1
    • None
    • None
    • % %
    • Hide

      workaround is to use the synchronous mode on cxf endpoint.

      Show
      workaround is to use the synchronous mode on cxf endpoint.
    • Hide

      I have attached a test route reproducer-context.xml to reproduce the issue. The route reads from an activemq queue and uses cxf to send it to an http endpoint.
      The destination http endpoint does not exist and this is the expected configuration for reproducing the issue,

      Note: make sure fuse is configured with async http client so that cxf can use it. install cxf-http-async feature.

      Once test route is deployed, post the test-input.xml to the queue multiple times. You can use the Producer.java to send messages.

      Monitor the logs coming from the route, once the logs stop. do the route-info in fuse console and try to restart the bundle containing the blueprint, you will see inflight exchanges reported.

      Show
      I have attached a test route reproducer-context.xml to reproduce the issue. The route reads from an activemq queue and uses cxf to send it to an http endpoint. The destination http endpoint does not exist and this is the expected configuration for reproducing the issue, Note: make sure fuse is configured with async http client so that cxf can use it. install cxf-http-async feature. Once test route is deployed, post the test-input.xml to the queue multiple times. You can use the Producer.java to send messages. Monitor the logs coming from the route, once the logs stop. do the route-info in fuse console and try to restart the bundle containing the blueprint, you will see inflight exchanges reported.

      When using async mode, The fuse server got stucked, can not handle further messages.

        1. Producer.java
          3 kB
        2. reproducer-context.xml
          4 kB
        3. test-input.xml
          4 kB

              rhn-support-tasato Tadayoshi Sato
              rhn-support-xiwu Xiaohui Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: