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:
Hiram R. Chirino 2006-03-21 16:16:23 +00:00
parent ef0c0e1f87
commit 94e8cf4922
1 changed files with 1 additions and 1 deletions

View File

@ -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) {