Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 30474200BF2 for ; Mon, 2 Jan 2017 19:04:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2EEF1160B22; Mon, 2 Jan 2017 18:04:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 75F39160B16 for ; Mon, 2 Jan 2017 19:03:59 +0100 (CET) Received: (qmail 34250 invoked by uid 500); 2 Jan 2017 18:03:58 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 34227 invoked by uid 99); 2 Jan 2017 18:03:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2017 18:03:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DA34FC1AD7 for ; Mon, 2 Jan 2017 18:03:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.188 X-Spam-Level: **** X-Spam-Status: No, score=4.188 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.022, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id R2Elp5daNC1l for ; Mon, 2 Jan 2017 18:03:56 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id F389760E83 for ; Mon, 2 Jan 2017 18:03:55 +0000 (UTC) Received: from static.162.255.23.22.macminivault.com (unknown [162.255.23.22]) by mbob.nabble.com (Postfix) with ESMTP id 6C5633962EC7 for ; Mon, 2 Jan 2017 09:48:06 -0800 (PST) Date: Mon, 2 Jan 2017 11:03:39 -0700 (MST) From: djose To: users@camel.apache.org Message-ID: <1483380219783-5792075.post@n5.nabble.com> In-Reply-To: <1483376035634-5792073.post@n5.nabble.com> References: <1483376035634-5792073.post@n5.nabble.com> Subject: Re: Camel -Mqtt Producer and ProducerTemplate MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Mon, 02 Jan 2017 18:04:00 -0000 Ok finally after spending a day I find out the issue. If I removed the clientid from the producer it works!!. routerUrl = "mqtt:register_producer?host="+url+ "&sslContext="+sslRegContext+ "&publishTopicName=registerAck"; Now the clientId I created is &clientId="SRV_DATA_ACK_"+ rand.nextInt(10000) which is unique for each request and below 23 chars. Anybody knows how this affect the connections in Camel MQTT component?? Now I'm testing with one debug client, doesn't know whether this will be an issue if multiplerandom clients connect at the same time. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Mqtt-Producer-and-ProducerTemplate-tp5792073p5792075.html Sent from the Camel - Users mailing list archive at Nabble.com.