diff --git a/activemq-optional/pom.xml b/activemq-optional/pom.xml
index 3582e6ffbc..0978c009b6 100755
--- a/activemq-optional/pom.xml
+++ b/activemq-optional/pom.xml
@@ -143,7 +143,31 @@
spring-beans
test
-
+
+ org.springframework
+ spring-context
+ test
+
+
+ org.springframework
+ spring-aop
+ test
+
+
+ org.springframework
+ spring-jms
+ test
+
+
+ org.springframework
+ spring-jms
+ test
+
+
+ org.apache.xbean
+ xbean-spring
+ test
+
org.codehaus.jettison
jettison
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 bf44d44d75..b44a82a186 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
@@ -21,7 +21,7 @@ import java.io.DataOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
-import java.util.concurrent.ArrayBlockingQueue;
+import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import javax.servlet.ServletException;
@@ -187,8 +187,7 @@ public class HttpTunnelServlet extends HttpServlet {
}
protected BlockingQueueTransport createTransportChannel() {
- // return new BlockingQueueTransport(new LinkedBlockingQueue