Hi, I'm trying to configure my JBoss 4.0.1SP3 server to access a remote message queue. The remote message queue is simply another instance of the same version of JBoss running on a different machine. I've added the following to my jms-ds.xml file:
<mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.mq:service=JMSProviderLoader,name=RemoteJBossMQProvider"> <attribute name="ProviderName">RemoteJMSProvider</attribute> <attribute name="ProviderAdapterClass"> org.jboss.jms.jndi.JBossMQProvider </attribute> <attribute name="FactoryRef">XAConnectionFactory</attribute> <attribute name="QueueFactoryRef"> XAConnectionFactory </attribute> <attribute name="TopicFactoryRef"> XAConnectionFactory </attribute> <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=jnp://swift:1099 </attribute> </mbean>
http://wiki.jboss.org/wiki/Wiki.jsp?page=HelpExpertSystem
Question 26
i.e. the example that comes with the version you are using