Hi,
I have some difficulties installing the DLQ broker plugin as stated on the
plugin installation howto page :
http://activemq.apache.org/interceptors.html . Does somebody has the correct
way how to do this ?
I thought this is enough :
<broker plugins="#discardingDlqBroker">
..
<plugins>
<bean id="discardingDlqBroker"
class="org.apache.activemq.plugin.DiscardingDLQBroker">
<property name="dropAll" value="true"/>
<property name="dropTemporaryTopics" value="true"/>
<property name="dropTemporaryQueues" value="true"/>
</bean>
</plugins>
</broker>
but then I get :
Failed to execute start task. Reason:
org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean element mapping: bean in namespace
http://activemq.apache.org/schema/core
and if I add the schema location for the spring bean:
<broker plugins="#discardingDlqBroker" >
<plugins>
<bean xmlns="http://www.springframework.org/schema/beans"
id="discardingDlqBroker"
class="org.apache.activemq.plugin.DiscardingDLQBroker">
<property name="dropAll" value="true"/>
<property name="dropTemporaryTopics" value="true"/>
<property name="dropTemporaryQueues" value="true"/>
</bean>
</plugins>
</broker>
it gives :
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'discardingDlqBroker' defined in file
[/tmp/jms-inca1-pro/conf/jms-inca1-pro.xml]: Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class
[org.apache.activemq.plugin.DiscardingDLQBroker]: No default constructor
found; nested exception is java.lang.NoSuchMethodException:
org.apache.activemq.plugin.DiscardingDLQBroker.<init>()
http://www.nabble.com/file/p23557866/broker.xml broker.xml
Thanks in advance,
Felix
--
View this message in context:
http://www.nabble.com/Installing-DLQ-Broker-plugin-%28interceptor%29-for-5.3.0-tp23557866p23557866.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.