activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenXS <>
Subject Re: How to write a java topic/queue consumer (MDB?) and deploy it INSIDE ActiveMQ?
Date Wed, 04 Aug 2010 14:48:02 GMT

Dejan Bosanac wrote:
> One way to do it is to put your jar in the lib/ folder and use
> ActiveMQ Spring configuration to boot it.

So ok, let's take the source from this webpage:

I compiled successfully the Server and MessageProtocol class and put it into
As you suggested I copied the target.jar now to ActiveMQ\lib directory.

And now?

How do I exactly specify that this bean should be launched at startup of
for listening at queue "client messages"?

Is this a suitable bean at all?
What about the main() method and the BrokerService setup?
Is this necessary/required?

But the main question again: How do I EXACTLY specify in activemq.xml
this bean?

Thank you

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

View raw message