activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Malla <mallara...@gmail.com>
Subject Network Connector not re-establishing
Date Wed, 21 Feb 2018 05:03:26 GMT
Hello

we are creating network connector b/w 
A->B
A->C

B->C
B->A

C->B
C->A

using networkttl=10.

Sample Network connector creation :
NetworkConnector networkConnector = new DiscoveryNetworkConnector(uri);
networkConnector.setNetworkTTL(this.networkTTL);
networkConnector.setBrokerURL(server.getUrl());

now for certain hours it is working properly, after some hours  connectors
b/w A,B is working properly but C is become isolated. means messages which
are in C are not getting consumed by other brokers [A,B)

Each of these are using one queue [testqueue]. have checked subscriptions on
that queue using jprofiler,
on A -> testqueue -> subscriptions -> B,C
     B -> testqueue -> subscriptions -> A
    C -> testqueue  -> subscriptions 0

when we are recreating n/w C->A  again then subscriptions is increasing C->A
and also messages are again consumed.

below is our broker configuration :
<destinationPolicy>
            <policyMap>
                <policyEntries> 
                    <policyEntry queue="testqueue"
producerFlowControl="true" useCache="false" memoryLimit="64 mb" />
                     
                    <policyEntry queue=">" producerFlowControl="true"
useCache="false" memoryLimit="64 mb">
                        <deadLetterStrategy>
                            <individualDeadLetterStrategy />
                        </deadLetterStrategy>
                    </policyEntry>
                </policyEntries>
            </policyMap>
        </destinationPolicy>	

Please suggest any solution or let us know any other information you need.
disconnected n/w connector is not re-establishing.	    



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

Mime
View raw message