Unit testing with JMS (ActiveMQ)
How to do unit testing with JMS ? Is it some de-facto for this ? I googled something - Unit testing for JMS: http://activemq.apache.org/how-to-unit-test-jms-code.html - jmsTemplate: activemq.apache.org/jmstemplate-gotchas.html - mockRunner : mockrunner.sourceforge.net/ Do you have any good experience on those and suggestion for me ? In my experience (after trying to do the same thing) when you are using JMS you are doing something like 1) Get JMS Message 2) Extract Object from Message 3) Do something with Object From that point of view I would suggest you unit test #3 but don't bother unit