You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Brian (JIRA)" <ji...@apache.org> on 2010/07/22 19:10:52 UTC
[jira] Commented: (AMQ-2846) Apache Camel Activemq component does
not allow use of "consumer.retroactive=true"
[ https://issues.apache.org/activemq/browse/AMQ-2846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60850#action_60850 ]
Brian commented on AMQ-2846:
----------------------------
Initial indications seem to suggest this might work.
<bean id="jmsFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL">
<value>failover://(tcp://localhost:61616)</value>
</property>
<property name="useRetroactiveConsumer">
<value> true </value>
</property>
</bean>
Still it would be better (IMO) that this be able to use as suggested above as a parameter.
-Brian
> Apache Camel Activemq component does not allow use of "consumer.retroactive=true"
> ---------------------------------------------------------------------------------
>
> Key: AMQ-2846
> URL: https://issues.apache.org/activemq/browse/AMQ-2846
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.3.2
> Reporter: Brian
>
> I am not entirely certain if this belongs here or in Camel, but use of the parameter"...?consumer.retroactive=true" while using the Activemq component in camel throws the following:
> Failed to resolve endpoint: activemq://topic:foo.bar?consumer.retroactive=true due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{consumer.retroactive=true}]
> Excerpt from dsl:
> <camelContext xmlns="http://camel.apache.org/schema/spring">
> <route>
> <from uri="activemq:topic:foo.bar?consumer.retroactive=true" />
> It seems odd that this would be left out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.