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 D801F200B85 for ; Thu, 15 Sep 2016 18:38:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D686D160AC6; Thu, 15 Sep 2016 16:38:21 +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 51231160ABA for ; Thu, 15 Sep 2016 18:38:21 +0200 (CEST) Received: (qmail 89428 invoked by uid 500); 15 Sep 2016 16:38:20 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 89419 invoked by uid 99); 15 Sep 2016 16:38:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 16:38:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6813F2C014D for ; Thu, 15 Sep 2016 16:38:20 +0000 (UTC) Date: Thu, 15 Sep 2016 16:38:20 +0000 (UTC) From: "Vladimir Dzalbo (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-10323) MQTT producer creation fails if network is not available at startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Sep 2016 16:38:22 -0000 Vladimir Dzalbo created CAMEL-10323: --------------------------------------- Summary: MQTT producer creation fails if network is not available at startup Key: CAMEL-10323 URL: https://issues.apache.org/jira/browse/CAMEL-10323 Project: Camel Issue Type: Bug Components: camel-mqtt Affects Versions: 2.17.3, 2.17.2 Reporter: Vladimir Dzalbo Trying to use Camel in environment with unstable network came with following problem: when Camel context starts up with network not being available no matter what retry settings are set, the creation of the producer will fail, which will also by default mean failure in the creation of context. It would be good if behavior was similar to other components (like mina or netty), where producer tries to establish connection when it has a message to send (or periodically?) So, once network connection is created (maybe hours or days after creation) endpoint would be functional and all messages can be delivered given Guaranteed Delivery pattern is used. Can we avoid fatal exception on creation of the Endpoint? -- This message was sent by Atlassian JIRA (v6.3.4#6332)