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 6B92318E35 for ; Wed, 22 Jul 2015 05:46:47 +0000 (UTC) Received: (qmail 42933 invoked by uid 500); 22 Jul 2015 05:46:44 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 42880 invoked by uid 500); 22 Jul 2015 05:46:44 -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 42869 invoked by uid 99); 22 Jul 2015 05:46:43 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 05:46:43 +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 5DA3B1A760F for ; Wed, 22 Jul 2015 05:46:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.286 X-Spam-Level: ** X-Spam-Status: No, score=2.286 tagged_above=-999 required=6.31 tests=[SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lmEk5DbifF1M for ; Wed, 22 Jul 2015 05:46:34 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 30B932302F for ; Wed, 22 Jul 2015 05:46:34 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 3290B11A5A76 for ; Tue, 21 Jul 2015 22:46:14 -0700 (PDT) Date: Tue, 21 Jul 2015 22:46:02 -0700 (MST) From: kethireddy To: users@camel.apache.org Message-ID: <1437543962965-5769715.post@n5.nabble.com> Subject: Apache Camel Endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi How to validate source endpoint. I have a scenario as follows Requirement: Consume messages from RabbitMQ. I tried as from("rabbitmq://testhost:5672/xxxxxExchange?queue=xxxQueue&username=xxxx") .to("stream:out") in my case testhost does not exits I expected Camel should throw an error but it does not throwing any errors. Same issue with File as well from("file:testsource").to("steam.out") My question is how to force camel throw an error if source endpoint doesn't exits -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Endpoint-tp5769715.html Sent from the Camel - Users mailing list archive at Nabble.com.