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

JMS: DSL/XML Inconsistent receiveTimeout

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.8
    • Component/s: JMS Support
    • Labels:

      Description

      The XML parser sets the default to no-wait; the DSL leaves it at the default (infinite wait).

      They should be consistent, but I don't think no-wait is correct for the reasons discussed at the end of the SO answer. Infinite wait is incorrect too. Maybe 1000?

      On second thought - perhaps no-wait (-1) if we have a CachingConnectionFactory, with cacheConsumers otherwise 1000?

       

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: