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 3038EE28C for ; Mon, 3 Dec 2012 12:45:29 +0000 (UTC) Received: (qmail 23470 invoked by uid 500); 3 Dec 2012 12:45:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 23040 invoked by uid 500); 3 Dec 2012 12:45:24 -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 22988 invoked by uid 99); 3 Dec 2012 12:45:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 12:45:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.210.169 as permitted sender) Received: from [209.85.210.169] (HELO mail-ia0-f169.google.com) (209.85.210.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 12:45:17 +0000 Received: by mail-ia0-f169.google.com with SMTP id r4so1968213iaj.28 for ; Mon, 03 Dec 2012 04:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=M9DprjpF4vH8EVZVkF8NCmpsDMPyfz2FLCAyqz5ZHJA=; b=WbiaOHBwUo+qXvN8tEG5EuDjge+d0e1n/vndFkHlPWu0kgUoQrElKKolon4MgMZLDx l2rhUdOXE9mWOpfDZW9mjtWeb4uhAGouXbwdlMPsKhfBPMVpO5RT6fzsfDWbn2McAGRn E9CUJxYhLfqEaYFDXHZ2SdtA8fpHqbdRLJYnbeDokIn1YYH9GNOksBr8+eNRkASfGX3M OSrmowcBVdFoO1OK1AJoEcrmWwPJsR+iwNyiyCWvARKmL+/vRTcIN5YBGPEWaSreMy22 4CKndmzawRiPTfxL85Q+oNRY/nnsOhw5Mb4bjqTAPoc7IIPeC0BZh/ZszstRcYBibKY5 TPyw== MIME-Version: 1.0 Received: by 10.50.153.137 with SMTP id vg9mr5947649igb.40.1354538696011; Mon, 03 Dec 2012 04:44:56 -0800 (PST) Received: by 10.50.50.1 with HTTP; Mon, 3 Dec 2012 04:44:55 -0800 (PST) In-Reply-To: <20121203115639.278480@gmx.net> References: <20121203115639.278480@gmx.net> Date: Mon, 3 Dec 2012 05:44:55 -0700 Message-ID: Subject: Re: MQTT and JMS/NMS: ActiveMQ vs. Apollo From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=e89a8f3bafa1cf70c804cff21db0 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f3bafa1cf70c804cff21db0 Content-Type: text/plain; charset=ISO-8859-1 On the Apollo side, the "rich protocol" conversions aren't there yet: https://issues.apache.org/jira/browse/APLO-267 For ActiveMQ 5.7 seems like the dead connection isn't being cleaned up properly when it goes away. Is this something you can reproduce? On Mon, Dec 3, 2012 at 4:56 AM, Christian Webel wrote: > Hi, > > I'm currently trying to add mobile clients (Android, eclipse paho client > API) via the MQTT protocol to our ActiveMQ and Apollo server. The other > clients use JMS/NMS. Transport connectors are correctly defined. > > I have experienced following problems: > > Using ActiveMQ 5.7: > Everthing seems to be OK. But when the mobile device looses connection to > the server (e.g. in area with no reception) and reconnects, I get an > javax.jms.InvalidClientIDException: Broker: localhost - Client: XXX already > connected from tcp:YYY. As the client ID is used by the server to identify > a client when it reconnects, the client has to use the same identifier > between connections if durable subscriptions are used. > > Can I somehow disable this clientID check in ActiveMQ? Any idea how to > solve that issue? > > Using Apollo: > Reconnect works fine, but interacting bezween JMS/NMS and mqtt clients is > not possible. It seems that there is no proper protocol conversion > implemented since I receive the JMS client data in mqtt as a large binary > blob. Vice versa, I receive nothing. From mqtt to mqtt clients, everthing > works perfect! > > Any ideas on that? > > Every little help is appreciated! > > Best regards, > Christian > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --e89a8f3bafa1cf70c804cff21db0--