public void configureAsyncEventQueue(AsyncEventQueue asyncQueueCreation) {
    gatewaySenderAttributes.setBatchSize(asyncQueueCreation.getBatchSize());
    gatewaySenderAttributes.setBatchTimeInterval(asyncQueueCreation.getBatchTimeInterval());
    gatewaySenderAttributes
        .setBatchConflationEnabled(asyncQueueCreation.isBatchConflationEnabled());
    gatewaySenderAttributes.setPersistenceEnabled(asyncQueueCreation.isPersistent());
    gatewaySenderAttributes.setDiskStoreName(asyncQueueCreation.getDiskStoreName());
    gatewaySenderAttributes.setDiskSynchronous(asyncQueueCreation.isDiskSynchronous());
    gatewaySenderAttributes.setMaximumQueueMemory(asyncQueueCreation.getMaximumQueueMemory());
    gatewaySenderAttributes.setParallel(asyncQueueCreation.isParallel());
    gatewaySenderAttributes
        .setBucketSorted(((AsyncEventQueueCreation) asyncQueueCreation).isBucketSorted());
    gatewaySenderAttributes.setDispatcherThreads(asyncQueueCreation.getDispatcherThreads());
    gatewaySenderAttributes.setOrderPolicy(asyncQueueCreation.getOrderPolicy());
    for (GatewayEventFilter filter : asyncQueueCreation.getGatewayEventFilters()) {
      gatewaySenderAttributes.getGatewayEventFilters().add(filter);
    }
    gatewaySenderAttributes
        .setEventSubstitutionFilter(asyncQueueCreation.getGatewayEventSubstitutionFilter());
    gatewaySenderAttributes.setForInternalUse(true);
    gatewaySenderAttributes
        .setForwardExpirationDestroy(asyncQueueCreation.isForwardExpirationDestroy());
  }
Used internally to pass the attributes from this factory to the real GatewaySender it is
creating.
geode-core/src/main/java/org/apache/geode/cache/asyncqueue/internal/AsyncEventQueueFactoryImpl.java