[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Application Server Integration Tests

ovidiu.feodorov@jboss.com do-not-reply at jboss.com
Fri Sep 29 00:16:02 EDT 2006


rachmatowicz at jboss.com wrote : 
  | I had a look at several of the JBossMQ JMS test cases in the AS testsuite, and it seems that its possible to create a set of generic JMS test cases by doing the following:
  | (i) use JMS provider neutral ObjectName domain names to name destinations within test cases (e.g. jboss.jms.destination instead of jboss.jbossmq.destination)
  | 

Why do you need to use ObjectNames from within test cases? The test should be completely unaware that JBossMQ deploys its destinations as MBeans in the "jboss.mq.destination:" domain and Messaging uses "jboss.messaging.destination:" for the same purpose. The provider may not even deploy the destination as an MBean, if it chooses so. "jboss.jms.destination" won't work.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975065#3975065

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975065



More information about the jboss-dev-forums mailing list