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

camel-jms - Consider adding option to override/enhance creation of temporary destinations simmilar to DestinationResolver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.22.0, 4.3.0
    • 4.5.0
    • camel-jms
    • None
    • Unknown

    Description

      There is currently no way to override creation of temporary queues in camel-jms, which is necessary for some use-cases in few MQ manager types. For example communicating with  IBM MQ backend that does not use jms requires setting of several properties for each created destination/queue, for example:

      (WMQConstants.WMQ_MQMD_WRITE_ENABLED, true)
      (WMQConstants.WMQ_TARGET_CLIENT, WMQConstants.WMQ_CLIENT_NONJMS_MQ)
      (WMQConstants.WMQ_MQMD_MESSAGE_CONTEXT, WMQConstants.WMQ_MDCTX_SET_ALL_CONTEXT)

      This can be achieved using DestinationResolver interface for "normal" destinations/queues, but not for temporary queues.

      camel-sjms already provides this functionality through "DestinationCreationStrategy#createTemporaryDestination", however it is non-trivial to switch to alternative camel component with unknown warts and performance characteristics.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              vdobos Vladimir Dobos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: