From c958b243d375a3ccaecfd2afaa0dd167850690a1 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Wed, 9 Jan 2013 12:12:29 -0500 Subject: [PATCH] INT-2875 Fix CPU Usage In JMS Test Reply Container was spinning receiving StubMessages. Set auto-startup to false on the gateways configured with a . --- .../jmsOutboundGatewayWithDeliveryPersistent.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spring-integration-jms/src/test/java/org/springframework/integration/jms/config/jmsOutboundGatewayWithDeliveryPersistent.xml b/spring-integration-jms/src/test/java/org/springframework/integration/jms/config/jmsOutboundGatewayWithDeliveryPersistent.xml index 7ad15d5012..fda5a06b97 100644 --- a/spring-integration-jms/src/test/java/org/springframework/integration/jms/config/jmsOutboundGatewayWithDeliveryPersistent.xml +++ b/spring-integration-jms/src/test/java/org/springframework/integration/jms/config/jmsOutboundGatewayWithDeliveryPersistent.xml @@ -13,9 +13,10 @@ + request-destination-name="requestQueue" + request-channel="requestChannel" + delivery-persistent="true" + auto-startup="false"> + delivery-persistent="true" + auto-startup="false">