Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31B1B116E2 for ; Tue, 22 Jul 2014 07:07:39 +0000 (UTC) Received: (qmail 63643 invoked by uid 500); 22 Jul 2014 07:07:39 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 63603 invoked by uid 500); 22 Jul 2014 07:07:39 -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 63590 invoked by uid 99); 22 Jul 2014 07:07:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 07:07:38 +0000 Date: Tue, 22 Jul 2014 07:07:38 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-7622) advice-with - No outputs found matching id when upgrading from 2.13 to 2.14 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-7622: ------------------------------- Summary: advice-with - No outputs found matching id when upgrading from 2.13 to 2.14 (was: No outputs found matching id when upgrading from 2.13 to 2.14) > advice-with - No outputs found matching id when upgrading from 2.13 to 2.14 > --------------------------------------------------------------------------- > > Key: CAMEL-7622 > URL: https://issues.apache.org/jira/browse/CAMEL-7622 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.14.0 > Reporter: Matt Raible > Assignee: Claus Ibsen > Fix For: 2.14.0 > > Attachments: outputnotfound.zip > > > I have the following route defined with the Java DSL: > from("direct:localMemberLookup").routeId("localMemberLookup") > .process(new MemberLookupToSqlParametersProcessor()).id("sqlParams") > .recipientList(simple("sql:{{sql.memberLookup}}")).delimiter("false") > .to("log:output") > .process(new MemberLookupProcessor()) > // do more processing > .to("log:output"); > I'm testing it with a test that looks as follows: > @EndpointInject(uri = "mock:lookupHeaders") > MockEndpoint lookupHeaders; > @EndpointInject(uri = "mock:searchResult") > MockEndpoint searchResult; > @EndpointInject(uri = "mock:lookupResult") > MockEndpoint lookupResult; > @Autowired > CamelContext camelContext; > @Before > public void before() throws Exception { > ModelCamelContext context = (ModelCamelContext) camelContext; > context.setTracing(true); > RouteDefinition searchRoute = context.getRouteDefinition("memberSearchRequest"); > searchRoute.to(searchResult); > RouteDefinition lookupRoute = context.getRouteDefinition("localMemberLookup"); > lookupRoute.adviceWith(context, new AdviceWithRouteBuilder() { > @Override > public void configure() throws Exception { > weaveById("sqlParams").after().to(lookupHeaders); > } > }); > lookupRoute.to(lookupResult); > context.start(); > } > With Camel 2.13.1, this works fine. However, with 2.14-SNAPSHOT, I get the following error: > java.lang.IllegalArgumentException: There are no outputs which matches: sqlParams in the route > Mailing list thread: http://camel.465427.n5.nabble.com/weaveById-works-with-2-13-1-not-with-2-14-SNAPSHOT-td5753809.html -- This message was sent by Atlassian JIRA (v6.2#6252)