[jboss-dev-forums] [Design of JBoss ESB] - Re: JMS Listener Mapper and JCA activation

tfennelly do-not-reply at jboss.com
Fri Apr 24 01:50:51 EDT 2009


Hey guys... how about globally configuring the adapter classes based on the adapter name e.g. in the jbossesb-properties.xml?  Would keep the .esb configs a bit cleaner perhaps.

The JmsListenerMapper might then look up the adapter something like:


  | String adapterClassName = ModulePropertyManager.getPropertyManager("jca.activation.adapters").getProperty(jmsJcaProvider.getAdapter());
  | 

With the config file something like:


  | <properties name="jca.activation.adapters">
  | 	<property name="jms-ra.rar" value="org.jboss....JBossJmsJcaAdapter"/>
  | 	<property name="wmq.jmsra.rar" value="org.jboss....WMQJmsJcaAdapter"/>
  | </properties>
  | 

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

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



More information about the jboss-dev-forums mailing list