activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curtis Bradley <curtis.brad...@yahoo.com>
Subject Re: [newbie] can't get brokers on two computers to connect
Date Mon, 05 Dec 2011 05:39:44 GMT
Didn't work.  Please keep the suggestions coming!

This network (my home) is DHCP.  I reserved the IPs and created hostnames on
each platform:

== Windows (brokerA.xml) =============
<beans
  xmlns="http://www.springframework.org/schema/beans"
  xmlns:amq="http://activemq.apache.org/schema/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">

    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="BrokerA" dataDirectory="${activemq.base}/data">

        <networkConnectors>
           <networkConnector uri="static:(tcp://homelinuxbox:61617)" />
	</networkConnectors>        

        <transportConnectors>
            <transportConnector name="openwire" uri="tcp://localhost:61616"
/>
        </transportConnectors>

    </broker>

</beans>

-- linux (brokerB.xml) --------------------------------
<beans
  xmlns="http://www.springframework.org/schema/beans"
  xmlns:amq="http://activemq.apache.org/schema/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">

    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="BrokerB" dataDirectory="${activemq.base}/data">
        
        <transportConnectors>
            <transportConnector name="openwire" uri="tcp://thisbox:61617" />
        </transportConnectors>

    </broker>

</beans>





--
View this message in context: http://activemq.2283324.n4.nabble.com/newbie-can-t-get-brokers-on-two-computers-to-connect-tp4156142p4159364.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message