From b404a6d129f4371a8a0475250fe486016192a80a Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Thu, 20 Nov 2008 18:58:27 +0000 Subject: [PATCH] Reordered setters. --- .../integration/jms/JmsInboundGateway.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org.springframework.integration.jms/src/main/java/org/springframework/integration/jms/JmsInboundGateway.java b/org.springframework.integration.jms/src/main/java/org/springframework/integration/jms/JmsInboundGateway.java index 542286800e..0f1513aef7 100644 --- a/org.springframework.integration.jms/src/main/java/org/springframework/integration/jms/JmsInboundGateway.java +++ b/org.springframework.integration.jms/src/main/java/org/springframework/integration/jms/JmsInboundGateway.java @@ -155,10 +155,6 @@ public class JmsInboundGateway extends AbstractEndpoint implements DisposableBea "If a 'container' reference is not provided, then 'connectionFactory'" + " and 'destination' (or 'destinationName') are required."); DefaultMessageListenerContainer dmlc = new DefaultMessageListenerContainer(); - dmlc.setConcurrentConsumers(this.concurrentConsumers); - dmlc.setMaxConcurrentConsumers(this.maxConcurrentConsumers); - dmlc.setMaxMessagesPerTask(this.maxMessagesPerTask); - dmlc.setIdleTaskExecutionLimit(this.idleTaskExecutionLimit); dmlc.setConnectionFactory(this.connectionFactory); if (this.destination != null) { dmlc.setDestination(this.destination); @@ -167,6 +163,10 @@ public class JmsInboundGateway extends AbstractEndpoint implements DisposableBea dmlc.setDestinationName(this.destinationName); } dmlc.setPubSubDomain(this.pubSubDomain); + dmlc.setConcurrentConsumers(this.concurrentConsumers); + dmlc.setMaxConcurrentConsumers(this.maxConcurrentConsumers); + dmlc.setMaxMessagesPerTask(this.maxMessagesPerTask); + dmlc.setIdleTaskExecutionLimit(this.idleTaskExecutionLimit); dmlc.setTransactionManager(this.transactionManager); dmlc.setSessionTransacted(this.sessionTransacted); dmlc.setSessionAcknowledgeMode(this.sessionAcknowledgeMode);