You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by terry <ze...@gmail.com> on 2015/11/13 08:33:13 UTC
how to setting keep alive interval? activemq protocol mqtt
hi all:
need your help.
ActiveMq version is 5.12.1, using mqtt protocol:
I want keep alive adjust to 6 minutes, so I define, but what I setting,
the keep alive remain 30 seconds:
<transportConnector name="mqtt"
uri="mqtt://0.0.0.0:2883?transport.keepAlive=true&wireFormat.maxInactivityDuration=360000&maximumConnections=65536&wireFormat.maxFrameSize=100000&transport.useKeepAlive=true&transport.defaultKeepAlive=360000"
updateClusterClients="true" updateClusterClientsOnRemove="true"
rebalanceClusterClients="true" />
--
View this message in context: http://activemq.2283324.n4.nabble.com/how-to-setting-keep-alive-interval-activemq-protocol-mqtt-tp4703937.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: how to setting keep alive interval? activemq protocol mqtt
Posted by Timothy Bish <ta...@gmail.com>.
On 11/13/2015 02:33 AM, terry wrote:
> hi all:
> need your help.
> ActiveMq version is 5.12.1, using mqtt protocol:
> I want keep alive adjust to 6 minutes, so I define, but what I setting,
> the keep alive remain 30 seconds:
>
> <transportConnector name="mqtt"
> uri="mqtt://0.0.0.0:2883?transport.keepAlive=true&wireFormat.maxInactivityDuration=360000&maximumConnections=65536&wireFormat.maxFrameSize=100000&transport.useKeepAlive=true&transport.defaultKeepAlive=360000"
> updateClusterClients="true" updateClusterClientsOnRemove="true"
> rebalanceClusterClients="true" />
>
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/how-to-setting-keep-alive-interval-activemq-protocol-mqtt-tp4703937.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Your client is likely sending a request for a 30 second keep-alive on
connect, have you checked your settings in the CONNECT frame?
--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.redhat.com
twitter: @tabish121
blog: http://timbish.blogspot.com/