activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebge2 <>
Subject Embedded ActiveMQ configuration
Date Fri, 16 Apr 2010 10:32:21 GMT


In order to test my application (maven test), I need an embedded activeMQ
instance. I've seen that there is two ways of declaring my broker. First, by
defining a BrokerService bean and directly configuring it. In the attached
file, you can see my spring bean.

The other way described in the documentation is to do:
    <bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">
        <property name="config"
        <property name="start" value="true"/>

With the traditional configuration file (I've removed jetty, and camel
routes): activemq.xml 

My problem is that with an embedded instance, my DLQ policy is not applied.
So, poison messages are placed in ActiveMQ.DLQ instead of DLQ.<myQueue>. In
a standalone activeMQ this works as expected. Is there something to
configure to custom the default DLQ policy ?

Thanks for your help :)


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

View raw message