activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milandesai47 <milandesa...@yahoo.in>
Subject NetworkConnector and TransportConnector how to use and when to use
Date Thu, 07 Sep 2017 13:13:01 GMT
Hi, I am new this ActigveMQ configuration, and clustering under ZooKeeper
enviroment
Initially I am working on a project where I have 4 Nodes in Which I have to
create 3 ZK and 1 plain node to work in as Cluster.
To make in simple my server names are S1(162),S2(163),S3(164),S4(165). 
1,2,3 should work as ZK and 4 as plain node.
from my understanding -- ActiveMq.xml connectors for my server S1 is as
below
<broker>
...
...
<transportConnectors>
             
            <transportConnector name="openwire"
uri="tcp://10.0.0.162:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>


        </transportConnectors>
		<networkConnectors>
		
              <networkConnector name="amq-broker2"
uri="static:(tcp://10.0.0.163:61616)" networkTTL="100" userName="admin"
password="admin" suppressDuplicateQueueSubscriptions="true"
decreaseNetworkConsumerPriority="true">
                  <excludedDestinations>
                      <queue physicalName="ActiveMQ.DLQ"/>
                  </excludedDestinations>
              </networkConnector>
              <networkConnector name="amq-broker3"
uri="static:(tcp://10.0.0.164:61616)" networkTTL="100" userName="admin"
password="admin" suppressDuplicateQueueSubscriptions="true"
decreaseNetworkConsumerPriority="true">
                  <excludedDestinations>
                      <queue physicalName="ActiveMQ.DLQ"/>
                  </excludedDestinations>
	      </networkConnector>
              <networkConnector name="amq-broker4"
uri="static:(tcp://10.0.0.165:61616)" networkTTL="100" userName="admin"
password="admin" suppressDuplicateQueueSubscriptions="true"
decreaseNetworkConsumerPriority="true">
                  <excludedDestinations>
                      <queue physicalName="ActiveMQ.DLQ"/>
                  </excludedDestinations>
              </networkConnector>
		</networkConnectors>
    </broker>

Similarly S2,S3,S4 connects to 10.0.0.162/163/164.
Does this seem connect. Although my work given to application for process
seems to divide between node I am keep getting warning message in logs. -
and when in comes to stress test its just fails. Does anybody can reckon
anything wrong with my activemq broker setup?
/2017-07-20 02:45:26,937 | WARN  | 3.92:42204@65011 | Transport                       
| 88 - org.apache.activemq.activemq-osgi - 5.10.1 | Transport Connection to:
tcp://10.0.0.162:42204 failed: java.io.EOFException
2017-07-20 02:45:29,879 | WARN  | 3.96:45746@65011 | Transport                       
| 88 - org.apache.activemq.activemq-osgi - 5.10.1 | Transport Connection to:
tcp://10.0.0.163:45746 failed: java.io.EOFException
2017-07-20 02:45:26,937 | WARN  | 3.92:42204@65011 | Transport                       
| 88 - org.apache.activemq.activemq-osgi - 5.10.1 | Transport Connection to:
tcp://10.0.0.164:42204 failed: java.io.EOFException
2017-07-20 02:45:29,879 | WARN  | 3.96:45746@65011 | Transport                       
| 88 - org.apache.activemq.activemq-osgi - 5.10.1 | Transport Connection to:
tcp://10.0.0.165:45746 failed: java.io.EOFException/




Thank you in advance.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message