Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-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 A5BC411445 for ; Mon, 14 Apr 2014 19:08:36 +0000 (UTC) Received: (qmail 7204 invoked by uid 500); 14 Apr 2014 19:08:35 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 7170 invoked by uid 500); 14 Apr 2014 19:08:35 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 45335 invoked by uid 99); 14 Apr 2014 15:48:20 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of Martin.Spamer@gmail.com does not designate 216.139.236.26 as permitted sender) Date: Mon, 14 Apr 2014 08:47:55 -0700 (PDT) From: "Martin.Spamer" To: users@camel.apache.org Message-ID: <1397490475860-5750209.post@n5.nabble.com> Subject: Camel + Java DSL Fluent builder with real ActiveMQ Broker 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'm trying to implement a WireTap[1] with Java DSL Fluent Builders[2], which gives the following example code snippet. from("direct:start") .to("log:foo") .wireTap("direct:tap") .to("mock:result"); This works if I run a mock example (e.g. camel-example-jms-file). However if I take the sample code and try to substitute a real Broker instance and Queue to replace the mock objects it fails with error below. from("tcp://localhost:61616") .to("ativemq:atsUpdateQueue") .wireTap("activemq:fdmCaptureQueue"); Then it fails org.apache.camel.FailedToCreateRouteException: Failed to create route route2: Route(route2)[[From[tcp://localhost:61616?queue=atsUpdateQue... because of Failed to resolve endpoint: tcp://localhost:61616?queue=atsUpdateQueue due to: No component found with scheme: tcp I've googled extensively and all the example I've found use the virtual mock queues none seem to illustrate working with a real broker and but I cannot find any documentation on the URI specification for camel. Can anybody give me any pointer to where I'm going wrong or to the uri specification for the Java DSL EndPoints? [1]: https://camel.apache.org/wire-tap.html [2]: https://camel.apache.org/dsl.html -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Java-DSL-Fluent-builder-with-real-ActiveMQ-Broker-tp5750209.html Sent from the Camel - Users mailing list archive at Nabble.com.