From 5a7ceacce9a3ce55643895c26a9cc5e8c71e3cd1 Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Wed, 10 Feb 2010 10:09:22 +0000 Subject: [PATCH] https://issues.apache.org/activemq/browse/AMQ-2600 - jetty 7 - some more fixes git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908433 13f79535-47bb-0310-9956-ffa450edef68 --- activemq-web-demo/pom.xml | 2 +- .../apache/activemq/web/MessageListenerServlet.java | 1 + assembly/src/release/conf/jetty.xml | 13 ++++++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/activemq-web-demo/pom.xml b/activemq-web-demo/pom.xml index a1fe9b26d5..5ec2742fd1 100755 --- a/activemq-web-demo/pom.xml +++ b/activemq-web-demo/pom.xml @@ -38,7 +38,7 @@ ${jetty-version} - + ${jetty.port} 60000 diff --git a/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java b/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java index 580b1b9cd7..3ccda21884 100644 --- a/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java +++ b/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java @@ -264,6 +264,7 @@ public class MessageListenerServlet extends MessageServletSupport { } Continuation continuation = ContinuationSupport.getContinuation(request); + continuation.setTimeout(timeout); Listener listener = getListener(request); if (listener != null && continuation != null && !continuation.isSuspended()) { listener.access(); diff --git a/assembly/src/release/conf/jetty.xml b/assembly/src/release/conf/jetty.xml index d8763329ca..4f00bcc36c 100644 --- a/assembly/src/release/conf/jetty.xml +++ b/assembly/src/release/conf/jetty.xml @@ -25,7 +25,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> - + @@ -41,8 +41,7 @@ - + @@ -53,16 +52,20 @@ + --> + + + --> + @@ -70,4 +73,4 @@ - \ No newline at end of file +