Implementing MockJMS using Junit !
0 posts in topic
Flat View  Flat View

Posted By:   matrix_B
Posted On:   Sunday, January 4, 2004 12:04 AM


I would like to know the way to implement MockJMS to test a JMSSender and a JMS Receiver. I am working on a simple java class which sends message to the queue using JMS and JBOSS and a simple program which reads the message from the queue.

Now i would like to test these 2 files using a mockJMS seperately. The mockJMS files will have a MockQueue and will verify wether the JMS files are OK . The mockJMS file will be a Junit test class which will run as a Junit Test.

If anybody has worked on the same lines please provide with some examples or some links.

Thanks in Advance.

About | Sitemap | Contact