Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4494

Allow replyTo message header to be different from actual reply queue

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.15.0
    • camel-jms
    • None
    • Patch Available
    • Unknown

    Description

      We have an application that acts as a JMS client in the following setup:

      • a local queue manager (L) with queues for request (L.REQUEST) and reply (L.REPLY) messages
      • a remote queue manager (R) with queues for request (R.REQUEST) and reply (R.REPLY) messages

      The remote queue manager is unknown to the client application, and messages sent to L.REQUEST are automatically forwarded to R.REQUEST. Similarly, there is a server application listening on R.REQUEST, posting responses in R.REPLY. The local queue manager is unknown to the server application. Messages sent to R.REPLY are automatically forwarded to L.REPLY.

      The client needs to put message in L.REQUEST and receive the reply in L.REPLY. However, in the message header it must set R.REPLY as the reply queue because L.REPLY is not known to the server application.

      The Camel JMS component currently doesn't seem to support this scenario.

      Attachments

        1. camel-jms-replyto.diff
          9 kB
          Jens Granseuer
        2. camel-jms-replyto2.diff
          10 kB
          Jens Kleine-Herzbruch
        3. camel-jms-replyto2.diff
          10 kB
          Jens Granseuer

        Activity

          People

            njiang Willem Jiang
            jensgr Jens Granseuer
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: