Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3618

Extremely bad performance in JMS transport when the MessageListenerContainer is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.3.6, 2.4.2
    • Transports
    • None

    Description

      When configuring the JMS transport for a fixed queue and using the async api the MessageListenerContainer is used.
      Normally this should increase the performance compared to jmsTemplate. When doing performance tests I found that the performance is extremely bad though.
      (Few messages per second). When I profiled where time is spent I found that the ListenerContainer is shut down all the time and restarted on next call.

      I removed the shutdown calls when no async messages are outstanding as the listeners may be kept open without any problems. Now the performance is fine again ( about 1500 request/reply calls per second).

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: