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 97F31200D00 for ; Sun, 27 Aug 2017 08:22:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 965B616475D; Sun, 27 Aug 2017 06:22:47 +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 DC4D616475C for ; Sun, 27 Aug 2017 08:22:46 +0200 (CEST) Received: (qmail 37237 invoked by uid 500); 27 Aug 2017 06:22:45 -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 37225 invoked by uid 99); 27 Aug 2017 06:22:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2017 06:22:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id F3BD41A27D7 for ; Sun, 27 Aug 2017 06:22:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.692 X-Spam-Level: *** X-Spam-Status: No, score=3.692 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id utf2S2-2LpC6 for ; Sun, 27 Aug 2017 06:22:42 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 33F4B5FD41 for ; Sun, 27 Aug 2017 06:22:42 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id d17so11864570lfe.1 for ; Sat, 26 Aug 2017 23:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=GcGOpvUOhQgyGo1lE8YBQ4Sx7eTY68eR2xaBNByfjvk=; b=slsCksGXUIO9b0i4Yyni2p/fDvXMyehNcCweqWPB/NMOheJs6gckKmzP+e7eUoyNCb 6L3aydg6HYT8XkeijlAF1Fu5e6rX/7+zDTJv4gqun8IsZRvS0m4e3mP1/pWITs5VwPek kQpmboiLVVgEXC6mA//PmJQbs/xNjerU54uK4e5nKkhEx5LqlD2oxLR6yM536q+a7SJ9 DoeKYE4Rq6vzs4f5ZSK+Z224Y2udL1qATBqJsGY2B8Heunr0crJd4g3Nuv8Pi+l+h9bH UUPHv6P3uZmlrGxEy4jNP6Bt1TSCYzH2xm0Y7TkWUT8pIo8zV8obgW5uKdEthlYLyfmp fVJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=GcGOpvUOhQgyGo1lE8YBQ4Sx7eTY68eR2xaBNByfjvk=; b=nXzqJur84TnzAxZchY69z5Yfndtpvnq4HYVYOPqS3hAuwvHwD7SmYRO27ymrKzGbhy wArpqxHB5L2sDFgZCskGTb1m8Gg7FOT88F0O1lo+xioVgED8EgY2732v7xpC04cWGpH/ gpFhdtOIre4OFlT6szUsRclz3VGaTOoGa59Rz8KLBQ8Jljx10+C/GSW/3ANZL7uxOetZ JWaZ5VqTHGepc/KQ7hSYyzDWbzHBrPX0Pp4bBTlwVatnVs18hM6OJrOhY16xo5J+ApTH ERZrIimAwcAyp6GNQIoLieS44932OmbeGWFLcTryK3eI4Yp11UVDkjTPtYLJDxjyV9OH BwFQ== X-Gm-Message-State: AHYfb5ibUV6NpoQnekIJISrU7T+6aVQW7ZKfkCKdzcQDNLWLme3XpdlN 4XzvY1hXQC9WGABSX5o+m9im6d4t6lu/ X-Received: by 10.25.227.1 with SMTP id a1mr1177488lfh.51.1503814960600; Sat, 26 Aug 2017 23:22:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.215.214 with HTTP; Sat, 26 Aug 2017 23:22:39 -0700 (PDT) Received: by 10.25.215.214 with HTTP; Sat, 26 Aug 2017 23:22:39 -0700 (PDT) In-Reply-To: <1503452835765-5811844.post@n5.nabble.com> References: <1503452835765-5811844.post@n5.nabble.com> From: Taariq Levack Date: Sun, 27 Aug 2017 08:22:39 +0200 Message-ID: Subject: Re: Camel Route Not Starting in Docker To: users@camel.apache.org Content-Type: multipart/alternative; boundary="94eb2c1cb64a88dbd70557b63463" archived-at: Sun, 27 Aug 2017 06:22:47 -0000 --94eb2c1cb64a88dbd70557b63463 Content-Type: text/plain; charset="UTF-8" Looks like you're connecting to a broker on localhost, which in docker is not the same. On 23 Aug 2017 03:47, "Jeremy Deane" wrote: > If start a local Spring-Boot App with a Camel Route listening to ActiveMQ, > itself either local or from a Docker Container, then the Camel Route > starts. > That in turns creates a connection to ActiveMQ and the queue that the Route > is polling. > > However, if I start that same Spring-Boot App (w/ Camel Route) in Docker, > then the Spring-Boot App Starts but not the Camel Route; nor does it > establish a connection. The weird part is that the ActiveMQ Camel Component > says it established a connection: > > /Successfully connected to tcp://event-broker:61616/ > > But when viewing the ActiveMQ Management Console there is no connection or > queue. And I see this output from the App logs regarding the Route: > > /Total 0 routes, of which 0 are started. / > > I posted a similar question, from a different perspective, with the Docker > details on StackOverflow: > > https://stackoverflow.com/questions/45774973/docker- > user-defined-network-inter-container-communication-via-container-host-n > > The Spring-Boot App code is here: > > https://github.com/jtdeane/event-driven-microservices/ > tree/master/event-ingestion > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Camel-Route-Not-Starting-in-Docker-tp5811844.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --94eb2c1cb64a88dbd70557b63463--