Re: How to write a java topic/queue consumer (MDB?) and deploy it INSIDE ActiveMQ?

2010-08-05 Thread Dejan Bosanac
Hi Ben, you do it like you'd do it for any other Spring application. You should get familiar with Spring a bit more to achieve it http://www.springsource.org/documentation Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action -

Re: How to write a java topic/queue consumer (MDB?) and deploy it INSIDE ActiveMQ?

2010-08-04 Thread Dejan Bosanac
One way to do it is to put your jar in the lib/ folder and use ActiveMQ Spring configuration to boot it. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On

How to write a java topic/queue consumer (MDB?) and deploy it INSIDE ActiveMQ?

2010-08-03 Thread BenXS
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