[jboss-user] [EJB 3.0] - MDB w/Tibco Queue only Works with ActivationConfig Settings

ptfromseismic do-not-reply at jboss.com
Mon Aug 25 08:29:16 EDT 2008


I hope someone has figured this out. We are running JBoss 4.2.2. We have a simple MDB being driven off a Tibco EMS Queue. I got this to work (after many failed attempts) by configuring an ExternalContext and a JMSProviderLoader. This works only if I have all of the connection info (user, password, URL, etc.) in the Properties for the ExternalContext (no problem) AND ALSO in the ActivationConfig annotations for the MDB (problem!).

Basically, we need this info to be configurable at deployment time so we have to find a way to take it out of the MDB annotations (or override them).

We tried putting the same info (user, password, maxSession, DLQ settings, etc.) into an ejb-jar.xml, jboss.xml, properties for the JMSProviderLoader. But the only place it seems to have any effect is when set as ActivationConfig annotations in the MDB which is not acceptable for our situation.

It appears this info gets set on a JMSActivationSpec object when the ear gets deployed. How can I get these values set without using MDB annotations?

Any help would be very much appreciated!

-ptFromSeismic
 

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

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



More information about the jboss-user mailing list