[jboss-user] [EJB 3.0] - Re: EJB3 MDBs & JCA Message inflow with foreing JMS provider

S0d0 do-not-reply at jboss.com
Thu Sep 21 16:48:38 EDT 2006


Here is sonic jndi loader conf.



  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |     <mbean code="com.sonicsw.sonicmq.asi.jndiloader.jboss.JBossLoader" name="sonic.jndiloader:service=JNDILoader">
  |         <attribute name="LoaderConfigURL">file:/C:/jboss-4.0.4.GA/server/default/data/sonic-jndiloader-conf.xml</attribute>
  |         <depends>jboss:service=Naming</depends>
  |     </mbean>
  | 
  | </server>
  | 
  | 




  | 
  | <?xml version="1.0"?>
  | <sonicloader>
  | 	<jndiEnvironment>
  | 		<property name="java.naming.provider.url">jnp://localhost:1099</property>
  | 		<property name="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</property>
  | 		<property name="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces</property>
  | 		<property name="java.naming.referral">throw</property>
  | 	</jndiEnvironment>
  | 
  | 	<entities>
  | 		<!-- SonicMQ Destinations  -->
  |         <!-- Make sure these destinations have been created on the SonicMQ broker -->
  |         <!-- Queues -->
  |         <entity jndiName="SonicJMS/Queues/SampleQ1" class="progress.message.jclient.Queue">
  |             <property name="queueName">SampleQ1</property>
  |         </entity>
  |         <entity jndiName="SonicJMS/Queues/SampleQ2" class="progress.message.jclient.Queue">
  |             <property name="queueName">SampleQ2</property>
  |         </entity>
  |         <entity jndiName="SonicJMS/Queues/SampleQ3" class="progress.message.jclient.Queue">
  |             <property name="queueName">SampleQ3</property>
  |         </entity>
  | 
  | 
  |         <entity jndiName="SonicJMS/Queues/fromCustomer" class="progress.message.jclient.Queue">
  |             <property name="queueName">SampleQ1</property>
  |         </entity>
  | 
  |         <entity jndiName="SonicJMS/Queues/toCustomer" class="progress.message.jclient.Queue">
  |             <property name="queueName">SampleQ2</property>
  |         </entity>
  | 
  |         <entity jndiName="SonicJMS/Queues/toESB" class="progress.message.jclient.Queue">
  |             <property name="queueName">toESB</property>
  |         </entity>
  | 
  |         <entity jndiName="SonicJMS/Queues/fromESB" class="progress.message.jclient.Queue">
  |             <property name="queueName">fromESB</property>
  |         </entity>
  | 
  |         <entity jndiName="SonicJMS/Queues/errorsQueue" class="progress.message.jclient.Queue">
  |             <property name="queueName">errors</property>
  |         </entity>
  | 
  |         <entity jndiName="SonicJMS/Queues/trackingQueue" class="progress.message.jclient.Queue">
  |             <property name="queueName">tracking</property>
  |         </entity>
  | 
  | 
  | 
  | 		<!-- Topics -->
  |         <entity jndiName="SonicJMS/Topics/SampleT1" class="progress.message.jclient.Topic">
  |             <property name="topicName">SampleT1</property>
  |         </entity>
  |         <entity jndiName="SonicJMS/Topics/SampleT2" class="progress.message.jclient.Topic">
  |             <property name="topicName">SampleT2</property>
  |         </entity>
  |         <entity jndiName="SonicJMS/Topics/SampleT3" class="progress.message.jclient.Topic">
  |             <property name="topicName">SampleT3</property>
  |         </entity>
  |         <entity jndiName="SonicJMS/Topics/SampleT4" class="progress.message.jclient.Topic">
  |             <property name="topicName">SampleT4</property>
  |         </entity>
  | 
  | 	</entities>
  | </sonicloader>
  | 
  | 
  | 

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

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



More information about the jboss-user mailing list