activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gllambi <>
Subject Competing consumers + redelivery policy
Date Fri, 20 Dec 2013 13:42:18 GMT
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 id="connectionFactoryBean"
            <property name="brokerURL" value="vm://localhost" />
            <property name="redeliveryPolicy" ref="redeliveryPolicy" />

    <bean id="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" />

thanks in advance!

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message