Re: HTTP transport

2015-12-12 Thread neo.li
hello, I am using http protocol for AMQ, but I find it is slower than using tcp. I guess that the cause are these dependencise, like jetty. I do no know how to optimize it, can u help me? Thanks Neo. -- View this message in context: http://activemq.2283324.n4.nabble.com/HTTP-transport-

Re: AMQ uses http protocol will become slow

2015-12-12 Thread neo.li
correct ConnectionFactory's url is failover:(http://localhost:8015?maxReconnectDelay=1&timeout=3) -- View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-uses-http-protocol-will-become-slow-tp4704905p4704906.html Sent from the ActiveMQ - User mailing list archive at N

AMQ uses http protocol will become slow

2015-12-12 Thread neo.li
hi all, when my AMQ uses tcp protocol, I find the transmission is very fast and Q is not pending. but when I use http/https instead of tcp, Q will be slower, if I send 1 ObjectMsg every 3s, Q will be pending. if I send 1 ObjectMsg every 2s, Q will dead. I do not know the root cause. I gue

Broker Protocol is http or https, InactivityIOException on client side

2015-10-19 Thread neo.li
how to keep alive for connect via https, and to remove the warning of automatically reconnect? - following is my environment Description: brokerURI on server side: https://localhost:8015/broker?maximumConnections=1000amp;wireFormat.maxFrameSize=10