mirror of https://github.com/apache/activemq.git
From PVillacorta - Fix IE issue where 1 message is received multiple times.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9430890dc7
commit
bd04e351e7
|
@ -186,6 +186,7 @@ public class MessageListenerServlet extends MessageServletSupport {
|
|||
else
|
||||
{
|
||||
response.setContentType("text/xml");
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
response.getWriter().print("<ajax-response></ajax-response>");
|
||||
}
|
||||
// System.err.println("==");
|
||||
|
@ -270,6 +271,7 @@ public class MessageListenerServlet extends MessageServletSupport {
|
|||
|
||||
// prepare the responds
|
||||
response.setContentType("text/xml");
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
|
||||
StringWriter swriter = new StringWriter();
|
||||
PrintWriter writer = new PrintWriter(swriter);
|
||||
|
|
Loading…
Reference in New Issue