mirror of https://github.com/apache/activemq.git
no need to configure the maxInactivityDuration since it is controlled using a WireFormatInfo.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@387570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef0c0e1f87
commit
94e8cf4922
|
@ -36,7 +36,7 @@ public class StompTransportFactory extends TransportFactory {
|
||||||
URI tcpURI = new URI(
|
URI tcpURI = new URI(
|
||||||
"tcp://"+location.getHost()+
|
"tcp://"+location.getHost()+
|
||||||
(location.getPort()>=0 ? ":"+location.getPort() : "")+
|
(location.getPort()>=0 ? ":"+location.getPort() : "")+
|
||||||
"?wireFormat=stomp&maxInactivityDuration=0"
|
"?wireFormat=stomp"
|
||||||
);
|
);
|
||||||
return TransportFactory.bind(brokerId, tcpURI);
|
return TransportFactory.bind(brokerId, tcpURI);
|
||||||
} catch (URISyntaxException e) {
|
} catch (URISyntaxException e) {
|
||||||
|
|
Loading…
Reference in New Issue