[jboss-user] [EJB 3.0] - Re: Message Driven Bean with TIBCO EMS - Wrong Connection fa

harleybl do-not-reply at jboss.com
Thu Jun 14 12:19:11 EDT 2007


I found the problem... After pouring through the logs and JBoss AS source code I found a place where you can select the jms provider JNDI.

Changing the annotations to:


  | @MessageDriven(
  |         activationConfig = {
  |         @ActivationConfigProperty(propertyName = "providerAdapterJNDI", propertyValue = "java:/TibJMSProvider"),
  |         @ActivationConfigProperty(propertyName = "destination",
  |                 propertyValue = "ems/queue.sample"),
  |         @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")}
  | ))
  | 

Fixes the problem.
Here are the following valid AcitvationConfigProperties that JBoss understands:

destination
  | destinationType
  | providerAdapterJNDI
  | maxSession

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

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



More information about the jboss-user mailing list