activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenXS <bxsto...@yahoo.co.uk>
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
started.

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

topicConnectionFactory = new
ActiveConnectionFactory("tcp://localhost:61616");

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
Ben
-- 
View this message in context: http://old.nabble.com/How-to-write-a-java-topic-queue-consumer-%28MDB-%29-and-deploy-it-INSIDE-ActiveMQ--tp29337194p29337194.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message