New JMSProviderLoader that takes jndi properties.
Using this to configure HAJNDI access for HAJMS,
but it can also be used to easily configure thirdparty jms jndi access more easily.
e.g.

  |   <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
  |      name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
  |     <attribute name="ProviderName">DefaultJMSProvider</attribute>
  |     <attribute name="ProviderAdapterClass">
  |       org.jboss.jms.jndi.JNDIProviderAdapter
  |     </attribute>
  |     <!-- The queue connection factory -->
  |     <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
  |     <!-- The topic factory -->
  |     <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
  |     <!-- Access JMS via HAJNDI -->
  |     <attribute name="Properties">
  |        java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | 
  |        java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | 
  |        java.naming.provider.url=localhost:1100
  |     </attribute>
  |   </mbean>
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to