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

camel-jms: toD endpoint with FQQN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.21.0, 4.0.0
    • 3.21.1, 3.22.0, 4.0.1, 4.1.0
    • camel-jms
    • None
    • Unknown
    • Regression

    Description

      Does not work with `.toD`:

      // DOES NOT WORK
      .setHeader("fqqn", constant("addr::q1"))
      .toD("jms:queue:${header.fqqn}");
      

      Works with `.toD`:

      // WORKS
      .setHeader(JMS_DESTINATION_NAME, constant("addr::q1"))
      .toD("jms:queue:dummy");
      

      Also works with `.to()`:

      // WORKS
      .to("jms:queue:addr::q1");
      

      Probably it worked before `SendDynamicAware` was introduced.

      Attachments

        Issue Links

          Activity

            People

              DenisIstomin Denis Istomin
              DenisIstomin Denis Istomin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: