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

JmsOutboundGateway overwrites existing jms_correlationId

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.0.2, 4.0 GA
    • Fix Version/s: 4.0.1
    • Component/s: JMS Support
    • Labels:

      Description

      We have the requirement to use a consistent correlation id for a request through all our components. This works well until we try to use JmsOutboundGateway. With correlation-key set to "JMSCorrelationID" the gateway will create a new random correlation id instead of using the value of the existing header jms_correlationId (JmsHeaders.CORRELATION_ID).
      Suggested fix: Check if header jms_correlationId exists and use it if set. If not set revert to the current behavior.

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            manuel.polacek Manuel Polacek
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: