aspose file tools*
The moose likes Other Application Frameworks and the fly likes Spring configuration for Testing JMS using Junit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring configuration for Testing JMS using Junit" Watch "Spring configuration for Testing JMS using Junit" New topic
Author

Spring configuration for Testing JMS using Junit

Santosh Ramachandrula
Ranch Hand

Joined: Apr 04, 2004
Posts: 252
Hi All,
I am trying to test (using JUnit) a Helper class in WEB application (deployed to JBOSS) that internally uses JMS (Junit is out of container). For this I would like to know how do I configure the Spring context file for the JMS connection factory and Queue that I am using (consider "jms/app1ToApp2QueueConnectionFactory" and "jms/app1ToApp2SendQueue" as the JNDI names for the connection factory and the queue)...

Right now I have following in my configuration file::





Any ideas/suggestions would be of great help.


Thanks,
Santosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring configuration for Testing JMS using Junit