This is an automated email from the ASF dual-hosted git repository. nnag pushed a commit to branch release/1.10.0 in repository https://gitbox.apache.org/repos/asf/geode.git
commit f903f7db5d10731cde323510fd49df2ac361d27c Author: nabarun <[email protected]> AuthorDate: Tue Sep 10 01:37:59 2019 -0700 GEODE-7127: Fixing the list AEQ command. * created with paused event processor will correct display the config. --- .../internal/cli/functions/ListAsyncEventQueuesFunction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/ListAsyncEventQueuesFunction.java b/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/ListAsyncEventQueuesFunction.java index 25e4517..056a07c 100644 --- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/ListAsyncEventQueuesFunction.java +++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/ListAsyncEventQueuesFunction.java @@ -25,6 +25,7 @@ import org.apache.geode.cache.asyncqueue.AsyncEventQueue; import org.apache.geode.cache.asyncqueue.internal.AsyncEventQueueImpl; import org.apache.geode.cache.execute.FunctionContext; import org.apache.geode.distributed.DistributedMember; +import org.apache.geode.internal.cache.wan.AbstractGatewaySender; import org.apache.geode.internal.cache.xmlcache.Declarable2; import org.apache.geode.management.cli.CliFunction; import org.apache.geode.management.internal.cli.domain.AsyncEventQueueDetails; @@ -72,6 +73,7 @@ public class ListAsyncEventQueuesFunction extends CliFunction { } private boolean isCreatedWithPausedEventDispatching(AsyncEventQueue queue) { - return ((AsyncEventQueueImpl) queue).getSender().isPaused(); + return ((AbstractGatewaySender) ((AsyncEventQueueImpl) queue).getSender()) + .isStartEventProcessorInPausedState(); } }
