Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3587

Add Option To Lazy Start and Stop the JMS Reply Listener Container.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.2 RC1
    • Component/s: JMS Support
    • Labels:

      Description

      Currently the reply listener container (if configured) in a JMS outbound gateway is eagerly started along with the endpoint's Lifecycle.

      Without the listener container, the JMS Connection is lazily created when the first message is sent.

      Consider a JVM with many partitioned jobs loaded (but not active), switching to a reply-listener container for better recovery causes connections to be eagerly established.

      Consider adding options to lazily start the listener container when the first message is sent, together with a timer such that when all replies are received, stop the listener container unless new requests arrive.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: