activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenXS <>
Subject How to write a java topic/queue consumer (MDB?) and deploy it INSIDE ActiveMQ?
Date Tue, 03 Aug 2010 16:07:43 GMT

I would like to write a small java program (something like a
Bean/MessageDrivenBean) and deploy it INSIDE the ActiveMQ MessageBroker.

This (MD)Bean should NOT
- use an embedded ActiveMQ Broker
and NOT
- run outside ActiveMQ (e.g. on a separate application server).

Instead the java prgm should be automatically activated when ActiveMQ is

I wrote the java program already as a stand-alone program outside of
ActiveMQ with statements like

topicConnectionFactory = new

but don't know how to let it run together and under the control of ActiveMQ.

How can I do this?
Is there somewhere a tutorial and sample and guide how to deploy it?

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

View raw message