Meaningless Drivel is fun!*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
How to connect to a remote MQ Queue using Spring MDPs and Weblogic
Spring+JMS+OC4J
Spring JMS with IBM Websphere MQ5.3.1
Problem with PropertyPlaceholderConfigurer
can't create connection to JBoss MQ using Spring JMS