activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Wang <kitta4...@gmail.com>
Subject Re: [MQTT] Impossible to disable InactivityMonitor !
Date Fri, 26 Oct 2012 05:40:24 GMT
Thanks, i'm working on it.

On Oct 26, 2012, at 4:12 AM, ceposta [via ActiveMQ] <ml-node+s2283324n4658249h1@n4.nabble.com>
wrote:

> Charles, 
> wireFormat.maxInactivityDuration won't work for MQTT 
> Can you try on the latest snapshots using the KeepAlive setting in the 
> client? 
> 
> On Mon, Oct 22, 2012 at 1:20 AM, Charles Wang <[hidden email]> wrote: 
> 
> > i'm using the 5.8.0-snapshot, my setting: 
> > 
> > <transportConnector name="mqtt" 
> > uri="mqtt://113.31.65.60:1883?wireFormat.maxInactivityDuration=0"/> 
> > 
> > And i got: 
> > 
> > 2012-10-22 16:10:45,674 | DEBUG | SampleJavaV3_subscribe MQTT Connection 
> > using heart beat of  60 secs | 
> > org.apache.activemq.transport.mqtt.MQTTProtocolConverter | ActiveMQ 
> > Transport: tcp:///124.127.108.134:7442@1883 
> > 2012-10-22 16:10:45,699 | DEBUG | MQTT Client  connected. | 
> > org.apache.activemq.transport.mqtt.MQTTProtocolConverter | ActiveMQ 
> > Transport: tcp:///124.127.108.134:7442@1883 
> > 2012-10-22 16:12:45,674 | DEBUG | 60000 ms elapsed since last read check. | 
> > org.apache.activemq.transport.mqtt.MQTTInactivityMonitor | 
> > InactivityMonitor 
> > ReadCheck 
> > 2012-10-22 16:12:45,709 | DEBUG | Sent Ping Response to  | 
> > org.apache.activemq.transport.mqtt.MQTTProtocolConverter | ActiveMQ 
> > Transport: tcp:///124.127.108.134:7442@1883 
> > 2012-10-22 16:13:45,675 | DEBUG | 60001 ms elapsed since last read check. | 
> > org.apache.activemq.transport.mqtt.MQTTInactivityMonitor | 
> > InactivityMonitor 
> > ReadCheck 
> > 2012-10-22 16:14:45,675 | DEBUG | 60000 ms elapsed since last read check. | 
> > org.apache.activemq.transport.mqtt.MQTTInactivityMonitor | 
> > InactivityMonitor 
> > ReadCheck 
> > 2012-10-22 16:14:45,675 | DEBUG | No message received since last read check 
> > for tcp:///124.127.108.134:7442@1883! Throwing InactivityIOException. | 
> > org.apache.activemq.transport.mqtt.MQTTInactivityMonitor | 
> > InactivityMonitor 
> > ReadCheck 
> > 2012-10-22 16:14:45,677 | WARN  | Transport Connection to: 
> > tcp://124.127.108.134:7442 failed: 
> > org.apache.activemq.transport.InactivityIOException: Channel was inactive 
> > for too (>60000) long: tcp://124.127.108.134:7442 | 
> > org.apache.activemq.broker.TransportConnection.Transport | 
> > MQTTInactivityMonitor Async Task: 
> > java.util.concurrent.ThreadPoolExecutor$Worker@6e659812[State = 0, empty 
> > queue] 
> > 
> > 
> > 
> > -- 
> > View this message in context: 
> > http://activemq.2283324.n4.nabble.com/MQTT-Impossible-to-disable-InactivityMonitor-tp4657945p4658032.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com. 
> >
> 
> 
> 
> -- 
> *Christian Posta* 
> http://www.christianposta.com/blog
> twitter: @christianposta 
> http://www.christianposta.com/blog
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://activemq.2283324.n4.nabble.com/MQTT-Impossible-to-disable-InactivityMonitor-tp4657945p4658249.html
> To unsubscribe from [MQTT] Impossible to disable InactivityMonitor !, click here.
> NAML





--
View this message in context: http://activemq.2283324.n4.nabble.com/MQTT-Impossible-to-disable-InactivityMonitor-tp4657945p4658277.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message