if (InternalDataSerializer.getVersionForDataStream(out).compareTo(Version.GFE_90) < 0 && this.orderPolicy != null) { String orderPolicyName = this.orderPolicy.name(); if (orderPolicyName.equals(Gateway.OrderPolicy.KEY.name())) { DataSerializer.writeObject(Gateway.OrderPolicy.KEY, out);
Gateway.OrderPolicy oldOrderPolicy = DataSerializer.readObject(in); if (oldOrderPolicy != null) { if (oldOrderPolicy.name().equals(OrderPolicy.KEY.name())) { this.orderPolicy = OrderPolicy.KEY; } else if (oldOrderPolicy.name().equals(OrderPolicy.THREAD.name())) { this.orderPolicy = OrderPolicy.THREAD; } else {
socketBufferSize, socketReadTimeout, enableBatchConflation, batchSize, batchTimeInterval, enablePersistence, diskStoreName, diskSynchronous, maxQueueMemory, alertThreshold, dispatcherThreads, orderPolicy == null ? null : orderPolicy.name(), gatewayEventFilters, gatewayTransportFilter);
public String getOrderPolicy() { return sender.getOrderPolicy() != null ? sender.getOrderPolicy().name() : null; }
public String getOrderPolicy() { return queueImpl.getOrderPolicy() != null ? queueImpl.getOrderPolicy().name() : null; }