activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Bahl <rohi...@yahoo.com>
Subject Discovery of Brokers in 4.1.0
Date Fri, 23 Feb 2007 18:59:25 GMT

Hi
  I am trying to create a a network of two brokers running on seperate
machines
by using discovery url (i.e. multicast) to discover each other. 
Somehow, both brokers are not able to locate each other.
I am using the version 4.1.0 
It works if I specify a static url in the Network Connector element.

I browsed through the forum but could not locate any bug related to the
Discovery Transport.
The following is the configuration I am using.
Also Multicast is enabled in my network and I am able to successfully run my
test using the release 4.0.1 with the same multicast address.

Would appreciate your help.

	<broker brokerName="localhost" useJmx="true"
xmlns="http://activemq.org/config/1.0" persistent="false">
    <!--  Use the following to set the broker memory limit
    <memoryManager>
        <usageManager id="memory-manager" limit="20 MB"/>
    </memoryManager>
    -->
    <!-- Use the following to configure how ActiveMQ is exposed in JMX
    <managementContext>
       <managementContext connectorPort="1099"
jmxDomainName="org.apache.activemq"/>
    </managementContext>
    -->
    <!-- In ActiveMQ 4, you can setup destination policies -->
    <destinationPolicy>
      <policyMap><policyEntries>
          <policyEntry topic="FOO.>">
            <dispatchPolicy>
              <strictOrderDispatchPolicy />
            </dispatchPolicy>
            <subscriptionRecoveryPolicy>
              <lastImageSubscriptionRecoveryPolicy />
            </subscriptionRecoveryPolicy>
          </policyEntry>
      </policyEntries></policyMap>
    </destinationPolicy>
    <transportConnectors>
       <transportConnector name="openwire" uri="tcp://localhost:8990"
discoveryUri="multicast://228.8.9.18:2777"/>
    </transportConnectors>
    <networkConnectors>
      <!-- by default just auto discover the other brokers -->
      <networkConnector name="default-nc"
uri="multicast://228.8.9.18:2777"/>
    </networkConnectors>
  </broker>
</beans>
-- 
View this message in context: http://www.nabble.com/Discovery-of-Brokers-in-4.1.0-tf3280589s2354.html#a9124669
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message