You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/09/14 15:23:08 UTC
[jira] [Commented] (AMQ-3498) Add support for setting ActiveMQ
destination options in Camel endpoint uris
[ https://issues.apache.org/jira/browse/AMQ-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104485#comment-13104485 ]
Claus Ibsen commented on AMQ-3498:
----------------------------------
Sending activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java
Adding activemq-camel/src/test/java/org/apache/activemq/camel/CamelDestinationExclusiveConsumerTest.java
Adding activemq-camel/src/test/resources/org/apache/activemq/camel/CamelDestinationExclusiveConsumerTest-context.xml
Transmitting file data ...
Committed revision 1170599.
> Add support for setting ActiveMQ destination options in Camel endpoint uris
> ---------------------------------------------------------------------------
>
> Key: AMQ-3498
> URL: https://issues.apache.org/jira/browse/AMQ-3498
> Project: ActiveMQ
> Issue Type: New Feature
> Affects Versions: 5.5.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 5.6.0
>
>
> 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
> {code:xml}
> <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>
> {code}
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira