michaelandrepearce commented on a change in pull request #2892: ARTEMIS-2549 -
Add Downstream support to Federation
URL: https://github.com/apache/activemq-artemis/pull/2892#discussion_r348352235
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/federation/address/FederatedAddress.java
##########
@@ -113,7 +116,31 @@ public void start() {
*/
@Override
public synchronized void afterCreateQueue(Queue queue) {
- createRemoteConsumer(queue);
+ conditionalCreateRemoteConsumer(queue);
+ }
+
+ private void conditionalCreateRemoteConsumer(Queue queue) {
+ //Always create demand if not a federated queue
+ if (!queue.getName().toString().startsWith(FEDERATED_QUEUE_PREFIX)) {
Review comment:
@cshannon im still struggling to understand why this change is needed. It
seems to be breaking some setups i have.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services