activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LCamel <>
Subject Re: custom plugin
Date Wed, 18 Apr 2012 02:08:26 GMT

I'm following the instructions in
to write a very minimal plugin. My plugin class can be successfully loaded

    <bean id="myPlugin" class="org.myorg.MyPlugin"/>

However, if I tell the broker to load it as a plugin

<broker xmlns=""
brokerName="localhost" dataDirectory="${activemq.base}/data"
destroyApplicationContextOnStop="true" plugins="#myPlugin">

, then ActiveMQ will refuse to start. The data/activemq.log has only one

2012-04-18 09:59:11,999 | INFO  | Refreshing
org.apache.activemq.xbean.XBeanBrokerFactory$1@4178460d: startup date [Wed
Apr 18 09:59:11 CST 2012]; root of context hierarchy |
org.apache.activemq.xbean.XBeanBrokerFactory$1 | main

, and the java process quits.

I have my minimal plugin attached in the mail. I'm running ActiveMQ 5.5.0 on
Mac OS X 10.7.3.

Thank you.

Luoh Ren-Shan foo.tgz 

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

View raw message