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: http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html I compiled successfully the Server and MessageProtocol class and put it into target.jar. 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 ActiveMQ 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 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--tp29337194p29347185.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.