-
1. Re: How to subscribe a message driven bean to a topic on rem
vollesommi67 Jan 26, 2004 2:18 AM (in response to vollesommi67)I tried the following (see FAQ answered by Adrian) in order to subscribe a message driven bean to a topic on remote server, but I didn't succeed. What did I wrong?
1) Definition of a JMS remote provider in a *-service.xml:
<!-- The JMS Remote provider loader -->
NT95JMSProvider
jnp://nt95:1099
org.jboss.jms.jndi.JBossMQProvider
java:/XAConnectionFactory
java:/XAConnectionFactory
2) Definition of a invoker-proxy.binding for the JMS remote provider in the standardjboss.xml:
<invoker-proxy-binding>
RepositoryServerUpdateProcessorBinding
<invoker-mbean>whatever</invoker-mbean>
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
<proxy-factory-config>
NT95JMSProvider
StdJMSPool
15
10
10
queue/DLQ
10
0
</proxy-factory-config>
</invoker-proxy-binding>
3) Reference to the invoker-proxy-binding in the jboss.xml:
<message-driven>
<ejb-name>RepositoryServerUpdateProcessor</ejb-name>
<destination-jndi-name>topic/repositoryUpdateTopic</destination-jndi-name>
<invoker-bindings>
<invoker-proxy-binding-name>RepositoryServerUpdateProcessorBinding</invoker-proxy-binding-name>
</invoker-bindings>
</message-driven>
By the way, it is also possible to use a clustered JMS notification service that is available since JBOSS 3.2.3 (see http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html?page=2)?
I'd really appreciate some hints!!!
Best wishes,
Volker