Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18C5A10BB8 for ; Sat, 30 Nov 2013 01:01:16 +0000 (UTC) Received: (qmail 37518 invoked by uid 500); 30 Nov 2013 01:01:15 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 37483 invoked by uid 500); 30 Nov 2013 01:01:15 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 37475 invoked by uid 99); 30 Nov 2013 01:01:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Nov 2013 01:01:15 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Nov 2013 01:01:10 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VmYv2-0001ac-6D for users@activemq.apache.org; Fri, 29 Nov 2013 17:00:24 -0800 Date: Fri, 29 Nov 2013 17:00:09 -0800 (PST) From: Brian Reinhold To: users@activemq.apache.org Message-ID: <1385773209176-4674961.post@n4.nabble.com> Subject: Apollo MQTT server ignoring keepalive timeout MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have set the WILL message to send a LOST payload on a status topic which I have defined (QoS = 2). The keep alive time is set to 20 seconds. According to the MQTT spec The Will message defines that a message is published on behalf of the client by the server when either an I/O error is encountered by the server during communication with the client, or the client fails to communicate within the Keep Alive timer schedule so I would expect that after 20 seconds I would get the LOST message published on the status topic on the server side (the apollo MQTT broker is embedded in a server). But nothing happens. If I publish the message in code it is properly received on the correct topic. Is the problem that the client application is on the same machine as the server and the broker (client and server are using TLS with client authentication as is the client and the broker)? All other aspects of connect and setup of the broker appear to be working correctly (I can publish and receive messages 'remotely' if I have subscribed). -- View this message in context: http://activemq.2283324.n4.nabble.com/Apollo-MQTT-server-ignoring-keepalive-timeout-tp4674961.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.