activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fngaserin <fngase...@gmail.com>
Subject Configure DiscoveryURI for Broker URI
Date Tue, 27 Apr 2010 13:08:59 GMT

I'm trying to configure embedded ActiveMQ on Tomcat 6.0.26 with JNDI. What
I'm trying to achieve is to have a clustered system. Tomcat is clustered and
I also want the embedded MQ server to be clustered too. I am avoiding XBean
and I chose to use Broker URI instead.

This is my ActiveMQConnectionFactory resource:

    <Resource 
    	auth="Container" 
       
brokerURL="vm:broker:(tcp://localhost:61616,network:multicast://default)?brokerName=tomcat0&amp;useJmx=false"
        description="JMS Connection Factory" 
    	factory="org.apache.activemq.jndi.JNDIReferenceFactory" 
    	name="jms/connectionFactory" 
    	type="org.apache.activemq.ActiveMQConnectionFactory" 
    	useEmbeddedBroker="true"/>

The connection will run properly except I can't find any reference on
configuring the discovery uri on the brokerURL. I have tried a number of
configurations, however I have not been able to find the answer. I tried
adding discovery:multicast://default in between the tcp and network uri,
however that does not seem to work. 
-- 
View this message in context: http://old.nabble.com/Configure-DiscoveryURI-for-Broker-URI-tp28376732p28376732.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message