Hi All,
I have gone through the JBOSS article  
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue
 . I haven't been successfull yet though i have done exactly the same way.
Iam using JBOSS 4.0.2(A) and 4.0.3(B) jboss serevers
1) Remote Topic is configured on B tied to JNDI
2) MDB is running in server A
Here are configuration on A
jms-ds.xml
--------------------

     PrcChgTopicProvider
     
       org.jboss.jms.jndi.JNDIProviderAdapter
     
     UIL2XAConnectionFactory
     UIL2XAConnectionFactory
     
         java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
         java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
         java.naming.provider.url=192.168.1.182:1099
     
   
-----------------------------------------
here the IP address is of server B

ejb-jar.xml
--------------------------
 <message-driven>
      <ejb-name>RibRegPrcChgMDB</ejb-name>
      
<ejb-class>com.skillnetinc.storehub.connector.rpm.publisher.ejb.publishPriceChanges.RibRegPrcChgMDB</ejb-class>
      <transaction-type>Container</transaction-type>
      <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
      <message-driven-destination>
        <destination-type>javax.jms.Topic</destination-type>
      </message-driven-destination>
----------------------------------------

jboss.xml
-----------------------------------------
<message-driven>
              <ejb-name>RibPrmPrcChgMDB</ejb-name>
              <configuration-name>Standard Message Driven 
Bean</configuration-name>
              
<destination-jndi-name>topic/etPrmPrcChgFromRPM</destination-jndi-name>
              
                <invoker-binding>
                        
                        
<invoker-proxy-binding-name>PrcChgTopicProvider</invoker-proxy-binding-name>
                
         </invoker-binding>
</message-driven>

 <invoker-proxy-binding>
           PrcChgTopicProvider
           <invoker-mbean>does-not-matter</invoker-mbean>
           
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
           <proxy-factory-config>
              PrcChgTopicProvider
              StdJMSPool
              1
              15
              30000
              1
              
                 10
                 
                    queue/DLQ
                    10
                    0
                 
              
           </proxy-factory-config>
        </invoker-proxy-binding>
----------------------------------------------------

3) Do i need to create same remote topic on server A ? Since my MDB refers the 
topic, when i deploy MDB on server A it is complaining the topic is not 
created. Ideally it should look into topic on Server B

4) After completion of configurations on both servers, iam publishing messages 
on B's  topic .(The publisehr client is running on B) I don't see any messages 
from MDB on A

Can any one tell me how to solve that. Spending lot of time and different 
approaches in this topic no luck so far.

5) After acheiving this, i would like to switch JBoss server B with external 
JMS servers. Like oracle app server. Then what configuartion i should make at 
server A and MDB? I heard about foreign providers(JMS) , i don't know how to 
configure.

Please show some light.
Thanks,


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005496
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to