see https://issues.apache.org/jira/browse/AMQ-1853

On 20 December 2013 13:42, gllambi <guzman.llamb...@gmail.com> wrote:
> Hi guys!
>
> Is there a way to define a thread pool for normal message delivery and
> another thread pool for message redelivery?
>
> I have a queue + redelivery policy and when three messages get locked for
> redelivery, no new messages are send by "normal" message delivery.
>
> I'm using AMQ with spring integration. Besides this is not a full AMQ
> config, it's quite the same, so if there's a way to do it in AMQ I'll find
> the way to make it in spring int
>
>     <int-jms:channel id="jmsChannel" queue-name="queue.demo"
>         acknowledge="transacted" error-handler="jmsErrorHandler"
> concurrency="3" />
>
>     <bean id="requestQueue"
> class="org.apache.activemq.command.ActiveMQQueue" >
>         <constructor-arg value="queue.demo" />
>     </bean>
>
>     <bean id="connectionFactoryBean"
> class="org.apache.activemq.ActiveMQConnectionFactory">
>             <property name="brokerURL" value="vm://localhost" />
>             <property name="redeliveryPolicy" ref="redeliveryPolicy" />
>     </bean>
>
>     <bean id="redeliveryPolicy"
> class="org.apache.activemq.RedeliveryPolicy">
>         <property name="backOffMultiplier" value="3" />
>         <property name="initialRedeliveryDelay" value="10000" />
>         <property name="maximumRedeliveries" value="2" />
>         <property name="queue" value="queue.demo" />
>         <property name="useExponentialBackOff" value="true" />
>     </bean>
>
> thanks in advance!
> Regards
> Guzmán
>
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Competing-consumers-redelivery-policy-tp4675760.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://redhat.com
http://blog.garytully.com

Reply via email to