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 99EDA200AE1 for ; Sun, 8 May 2016 07:32:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 98AD8160A02; Sun, 8 May 2016 05:32:22 +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 D8286160A01 for ; Sun, 8 May 2016 07:32:21 +0200 (CEST) Received: (qmail 41455 invoked by uid 500); 8 May 2016 05:32:20 -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 35630 invoked by uid 99); 8 May 2016 05:18:42 -0000 X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.486 X-Spam-Level: ***** X-Spam-Status: No, score=5.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HTML_MESSAGE=2, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Date: Sat, 7 May 2016 22:18:37 -0700 (MST) From: bprager To: users@camel.apache.org Message-ID: <1462684717108-5782311.post@n5.nabble.com> Subject: Camel2.17: No bean could be found in the registry MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_393332_460831901.1462684717110" archived-at: Sun, 08 May 2016 05:32:22 -0000 ------=_Part_393332_460831901.1462684717110 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am trying to get my resource uri for Jetti from a bean.My code: SimpleRegistry registry = new SimpleRegistry();registry.put("myBean", new String("resource:source1.html")); CamelContext context = new DefaultCamelContext(registry); String test = (String) registry.lookup("myBean");logger.info(test);assert("resource:source1.html".equals(test));from("jetty://http://localhost:8888/").log("Received a request").transform().simple("${bean:myBean}"); results in: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: myBean The assertion passes, so the bean is actually in the registry, I believe.Can somebody help me with the correct syntax?Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Camel2-17-No-bean-could-be-found-in-the-registry-tp5782311.html Sent from the Camel - Users mailing list archive at Nabble.com. ------=_Part_393332_460831901.1462684717110--