Setting dynamicallyIncludedDestinations on a networkConnector prevents consumer info advisory messages from being sent to other nodes in a NoB with using Camel-JMS with Temporary Queue Request Reply.
Camel-JMS is creating a temporary queue:
2016-05-31 11:48:01,796 | DEBUG | edhat.incoming1] | JmsProducer | .camel.component.jms.JmsProducer 106 | 2741 - org.apache.camel.camel-jms - 2.12.0.redhat-611423 | Using JmsReplyManager: org.apache.camel.component.jms.reply.TemporaryQueueReplyManager@3822ab41 to process replies from temporary queue 2016-05-31 11:48:01,802 | TRACE | edhat.incoming1] | JmsProducer | .camel.component.jms.JmsProducer 395 | 2741 - org.apache.camel.camel-jms - 2.12.0.redhat-611423 | Using inOut jms template 2016-05-31 11:48:01,804 | DEBUG | edhat.incoming1] | msConfiguration$CamelJmsTemplate | ngframework.jms.core.JmsTemplate 464 | 2754 - org.apache.servicemix.bundles.spring-jms - 3.2.12.RELEASE_1 | Executing callback on JMS Session: PooledSession { ActiveMQSession {id=ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:2,started=true} } 2016-05-31 11:48:01,826 | TRACE | redhat.service1] | TemporaryQueueReplyManager | nt.jms.reply.ReplyManagerSupport 71 | 2741 - org.apache.camel.camel-jms - 2.12.0.redhat-611423 | ReplyTo destination: temp-queue://ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1 2016-05-31 11:48:01,827 | DEBUG | redhat.service1] | TemporaryQueueReplyManager | aryReplyQueueDestinationResolver 208 | 2741 - org.apache.camel.camel-jms - 2.12.0.redhat-611423 | Refreshed Temporary ReplyTo Queue. New queue: ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1
Looking at the broker after removing the dynamicallyIncludedDestinations, you can see the Advisory Topic is being created as 'ActiveMQ.Advisory.Consumer.Queue.TMPQUEUE' and not under 'ActiveMQ.Advisory.TempQueue'.
NoB 1:
Fabric8:admin@cigna-nob1> dstat Name Queue Size Producer # Consumer # Enqueue # Dequeue # Memory % ActiveMQ.Advisory.Connection 0 0 0 5 0 0 ActiveMQ.Advisory.Consumer.Queue.ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1 0 0 2 1 0 0 ActiveMQ.Advisory.Consumer.Queue.com.redhat.incoming1 0 0 2 5 0 0 ActiveMQ.Advisory.Consumer.Queue.com.redhat.service1 0 0 2 5 0 0 ActiveMQ.Advisory.MasterBroker 0 0 0 1 0 0 ActiveMQ.Advisory.NetworkBridge 0 0 0 2 0 0 ActiveMQ.Advisory.Queue 0 0 0 6 0 0 ActiveMQ.Advisory.TempQueue 0 0 3 5 0 0 ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1 0 0 1 1564 1564 0 com.redhat.incoming1 0 0 1 0 0 0 com.redhat.service1 0 0 1 1564 1564 0
NoB 2:
Fabric8:admin@cigna-nob2> dstat Name Queue Size Producer # Consumer # Enqueue # Dequeue # Memory % ActiveMQ.Advisory.Connection 0 0 0 5 0 0 ActiveMQ.Advisory.Consumer.Queue.ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1 0 0 2 1 0 0 ActiveMQ.Advisory.Consumer.Queue.com.redhat.incoming1 0 0 2 5 0 0 ActiveMQ.Advisory.Consumer.Queue.com.redhat.service1 0 0 2 5 0 0 ActiveMQ.Advisory.MasterBroker 0 0 0 1 0 0 ActiveMQ.Advisory.NetworkBridge 0 0 0 2 0 0 ActiveMQ.Advisory.Queue 0 0 0 6 0 0 ActiveMQ.Advisory.TempQueue 0 0 3 5 0 0 ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1 0 0 1 1613 1613 0 com.redhat.incoming1 0 0 1 0 0 0 com.redhat.service1 0 0 1 1613 1613 0
NoB 3:
Fabric8:admin@cigna-nob3> dstat Name Queue Size Producer # Consumer # Enqueue # Dequeue # Memory % ActiveMQ.Advisory.Connection 0 0 0 11 0 0 ActiveMQ.Advisory.Consumer.Queue.ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1 0 0 2 1 0 0 ActiveMQ.Advisory.Consumer.Queue.com.redhat.incoming1 0 0 2 5 0 0 ActiveMQ.Advisory.Consumer.Queue.com.redhat.service1 0 0 2 5 0 0 ActiveMQ.Advisory.MasterBroker 0 0 0 1 0 0 ActiveMQ.Advisory.NetworkBridge 0 0 0 2 0 0 ActiveMQ.Advisory.Queue 0 0 0 6 0 0 ActiveMQ.Advisory.TempQueue 0 0 3 7 0 0 ID:fusefabric4.gsslab.rdu2.redhat.com-38624-1464709680594-5:1:1 0 0 1 0 0 0 com.redhat.incoming1 0 0 1 1844 1844 0 com.redhat.service1 0 0 1 216 216 0