Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3498

Add support for setting ActiveMQ destination options in Camel endpoint uris

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.0
    • Component/s: activemq-camel
    • Labels:
      None

      Description

      It should be possible to configure and use ActiveMQ Destination Options
      http://activemq.apache.org/destination-options.html

      On Camel endpoints, so you can do something like

          <route>
            <from uri="file://src/test/data?noop=true"/>
            <!-- use consumer.exclusive ActiveMQ destination option, notice we have to prefix with destination. -->
            <to uri="activemq:queue:foo?destination.consumer.exclusive=true"/>
          </route>
      

      Notice we need to prefix the options with destination. to avoid clashes with the consumer. which is the regular Camel Consumer prefix.

      Since this is an ActiveMQ specific feature, we should add it to the activemq-camel component, and not directly in camel-jms.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: