[jboss-dev-forums] [Design of EJB 3.0] - Re: MDB.getActivationConfigProperties handling of no destina
adrian@jboss.org
do-not-reply at jboss.com
Thu Aug 7 06:15:52 EDT 2008
This patch is wrong.
It should be constructing the InitialContext from the
JMSProviderAdapterJNDI activation config property when using JBoss's jms rar.
In the event of a thirdparty jms rar, you've got no clue what to do.
If there is both a local jms and a remote jms (or a thirdparty jms)
you could actually get the wrong result if the destination exists locally
of a different type to the one that should be used in the remote or thirdparty jms.
The correct place for this patch is
org.jboss.resource.adapter.jms.inflow.JmsActivation, i.e. rework how
setUpDestination() does things and remove the reliance on
JmsActivationSpec.isTopic() from setUpConnection()
Coupled with removal of destiantionType as a mandatory activation config property
from the ra.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169261#4169261
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169261
More information about the jboss-dev-forums
mailing list