diff --git a/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTunnelServlet.java b/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTunnelServlet.java index 957fa9386f..538f4a3bd3 100755 --- a/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTunnelServlet.java +++ b/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTunnelServlet.java @@ -193,7 +193,8 @@ public class HttpTunnelServlet extends HttpServlet { clients.put(clientID, answer); Transport transport = answer; try { - transport = transportFactory.serverConfigure(answer, null, transportOptions); + HashMap options = new HashMap(transportOptions); + transport = transportFactory.serverConfigure(answer, null, options); } catch (Exception e) { IOExceptionSupport.create(e); }