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 49FAB200C08 for ; Thu, 26 Jan 2017 15:32:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 48822160B40; Thu, 26 Jan 2017 14:32:31 +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 423E9160B33 for ; Thu, 26 Jan 2017 15:32:30 +0100 (CET) Received: (qmail 48992 invoked by uid 500); 26 Jan 2017 14:32:29 -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 48969 invoked by uid 99); 26 Jan 2017 14:32:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2017 14:32:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 73233C15C7 for ; Thu, 26 Jan 2017 14:32:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.311 X-Spam-Level: * X-Spam-Status: No, score=1.311 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=vistronix.onmicrosoft.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id c-VI1oT11N5k for ; Thu, 26 Jan 2017 14:32:22 +0000 (UTC) Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0104.outbound.protection.outlook.com [104.47.42.104]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id EE73C5F5C7 for ; Thu, 26 Jan 2017 14:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Vistronix.onmicrosoft.com; s=selector1-vistronix-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2TuWvVaWrqVNHAQ1lU607rYcUnWUyEDJnM+W09Z1/as=; b=gfYCaBmage1CzIg/N0vJIgW4lOC4d0VW9R0wExmbpf1TCB859anMR6qDXH2Au/2LKoUWc4/NW4meMBLVDTMXCRZSeDFcj4OIOHQB42EuUUBD0UyRc94kFxVu02D6PovQwbsrYEmoWGN4KpWkXWU6rNCQmS0vGdkhaZPa2MZCDWo= Received: from SN2PR01MB2176.prod.exchangelabs.com (10.166.209.17) by SN2PR01MB2176.prod.exchangelabs.com (10.166.209.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Thu, 26 Jan 2017 14:31:57 +0000 Received: from SN2PR01MB2176.prod.exchangelabs.com ([10.166.209.17]) by SN2PR01MB2176.prod.exchangelabs.com ([10.166.209.17]) with mapi id 15.01.0860.023; Thu, 26 Jan 2017 14:31:57 +0000 From: "Giordano, Michael" To: "users@camel.apache.org" Subject: RE: ProducerTemplate using netty4 component Thread-Topic: ProducerTemplate using netty4 component Thread-Index: AdJ3V57D3ejkNMVUQrmD70fgW7jK7gAbxPKAAAaIv2A= Date: Thu, 26 Jan 2017 14:31:57 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Giordano@Vistronix.com; x-originating-ip: [108.58.122.186] x-ms-office365-filtering-correlation-id: 76c9618d-aee1-49a6-7fce-08d445f814fe x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN2PR01MB2176; x-microsoft-exchange-diagnostics: 1;SN2PR01MB2176;7:vCITX3fcM1gcuU1IIq9J1woN5svrXkxvyPmmRGMTi6QekcfPtsErbF3sZtoZa7N0C0Nq1ZFfiEUncdl496QJSZpXs9+y+3rqByn2YikMce18l56xih4bKoLre1+tgmO+EhzNL868ucnxa5CK1/UMc9qo5Jtv0d19m6C4KELR7Nnzegngivnwa8XyGFYtjzH18LEh5LypAwEm3I3Ei/TD0e/+HbwO8xZYAKVBN+p6M6amydFoHJ8vs+CFivjN7URNCAfPGfERSIELiDrZupG6ASeYDzUfh8hg5tptzHXD9fmF7Zgoob9TsQF88vh5R6YdkU3yeKn6ArSyXt47pu+j69OyEpQwkasKEXDXA/RyvynlUIkz9PcLpA6xWOEimt8GeY8btlHdz+O9wbGDuwWSb5a27TJ6rE3kccaJv62InxH49jFvix6TVziOPdOiAheKF2aV8xcIjbAWWHk1bMwU7Q== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(6072148);SRVR:SN2PR01MB2176;BCL:0;PCL:0;RULEID:;SRVR:SN2PR01MB2176; x-forefront-prvs: 019919A9E4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(39450400003)(189002)(377454003)(377424004)(13464003)(24454002)(199003)(6506006)(229853002)(6436002)(7696004)(110136003)(55016002)(6306002)(99286003)(9686003)(38730400001)(77096006)(6916009)(2950100002)(7736002)(305945005)(966004)(74316002)(575784001)(3660700001)(5640700003)(68736007)(33656002)(25786008)(86362001)(92566002)(3846002)(122556002)(8676002)(1730700003)(8936002)(2906002)(81156014)(3280700002)(97736004)(81166006)(6116002)(102836003)(189998001)(5660300001)(2351001)(107886002)(450100001)(50986999)(106356001)(54356999)(10126002)(66066001)(76176999)(2501003)(5890100001)(105586002)(101416001)(1720100001)(2900100001)(53936002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN2PR01MB2176;H:SN2PR01MB2176.prod.exchangelabs.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: Vistronix.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: vistronix.com X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2017 14:31:57.0299 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be98064e-db9c-4c44-ad12-f9030ffa8532 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR01MB2176 archived-at: Thu, 26 Jan 2017 14:32:31 -0000 Yes except the error message changes to=20 Failed to resolve endpoint: tcp://10.18.2.161:6509 due to: No component fou= nd with scheme: tcp -----Original Message----- From: souciance [mailto:souciance.eqdam.rashti@gmail.com]=20 Sent: Thursday, January 26, 2017 6:24 AM To: users@camel.apache.org Subject: Re: ProducerTemplate using netty4 component Hmm strange, do you get the same error if you switch from udp to tcp just f= or the sake of it? On Wed, Jan 25, 2017 at 11:20 PM, Giordano, Michael [via Camel] < ml-node+s465427n5793064h47@n5.nabble.com> wrote: > I am running into an issue when I use the netty4 component with a=20 > ProducerTemplate. > > Processor bean : > > @EndpointInject(uri=3D"netty4:udp://10.18.2.161:6509") > private ProducerTemplate producerTemplate; > > When Spring Boot tries to create the bean, I get this error message : > > Failed to resolve endpoint: udp://10.18.2.161:6509 due to: No=20 > component found with scheme: udp > > (Full stacktrace below) > > Error reproduced with > Spring Boot versions : 1.3.8-RELEASE, 1.4.3-RELEASE Camel versions :=20 > 2.17.5, 2.18.1 > > As part of my debugging efforts, I found this curious line : > > 2017-01-25 13:31:16,905 DEBUG [main]=20 > org.apache.camel.spring.SpringCamelContext > netty4://udp://10.18.2.161:6509 converted to endpoint: Endpoint[udp://=20 > 10.18.2.161:6509] by component: org.apache.camel.component. > netty4.NettyComponent@5807efad > > Has anyone else encountered this issue? Am I doing something wrong? > > Thanks, > Mike G. > > Full Stacktrace : > > 2017-01-25 17:16:59,423 ERROR [main]=20 > org.springframework.boot.SpringApplication > Application startup failed > org.apache.camel.spring.boot.CamelSpringBootInitializationException: > org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: udp://10.18.2.161:6509 due to: No component found with scheme: > udp > at org.apache.camel.spring.boot.RoutesCollector. > onApplicationEvent(RoutesCollector.java:124) > at org.apache.camel.spring.boot.RoutesCollector. > onApplicationEvent(RoutesCollector.java:41) > at org.springframework.context.event. > SimpleApplicationEventMulticaster.invokeListener( > SimpleApplicationEventMulticaster.java:166) > at org.springframework.context.event. > SimpleApplicationEventMulticaster.multicastEvent( > SimpleApplicationEventMulticaster.java:138) > at org.springframework.context.support.AbstractApplicationContext= . > publishEvent(AbstractApplicationContext.java:383) > at org.springframework.context.support.AbstractApplicationContext= . > publishEvent(AbstractApplicationContext.java:337) > at org.springframework.context.support.AbstractApplicationContext= . > finishRefresh(AbstractApplicationContext.java:882) > at org.springframework.boot.context.embedded. > EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationCont > ext.java:144) > > at org.springframework.context.support.AbstractApplicationContext= . > refresh(AbstractApplicationContext.java:545) > at org.springframework.boot.context.embedded. > EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.ja > va:122) > > at=20 > org.springframework.boot.SpringApplication.refresh(SpringApplication.j > ava:761) > > at=20 > org.springframework.boot.SpringApplication.refreshContext(SpringApplic > ation.java:371) > > at=20 > org.springframework.boot.SpringApplication.run(SpringApplication.java: > 315) > > at=20 > org.springframework.boot.SpringApplication.run(SpringApplication.java: > 1186) > > at=20 > org.springframework.boot.SpringApplication.run(SpringApplication.java: > 1175) > > at com.vistronix.mmai.pcap.Application.main(Application.java:9) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at=20 > org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner. > java:48) > > at=20 > org.springframework.boot.loader.Launcher.launch(Launcher.java:87) > > at=20 > org.springframework.boot.loader.Launcher.launch(Launcher.java:50) > > at=20 > org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) > > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to=20 > resolve endpoint: udp://10.18.2.161:6509 due to: No component found=20 > with > scheme: udp > at=20 > org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelCont > ext.java:628) > > at org.apache.camel.impl.DefaultProducerTemplate.doStart( > DefaultProducerTemplate.java:731) > at=20 > org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) > > at=20 > org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75 > ) > > at org.apache.camel.impl.DeferServiceStartupListener. > onCamelContextStarted(DeferServiceStartupListener.java:49) > at org.apache.camel.impl.DefaultCamelContext. > safelyStartRouteServices(DefaultCamelContext.java:3529) > at org.apache.camel.impl.DefaultCamelContext. > doStartOrResumeRoutes(DefaultCamelContext.java:3308) > at=20 > org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelCon > text.java:3162) > > at org.apache.camel.impl.DefaultCamelContext.access$ > 000(DefaultCamelContext.java:182) > at=20 > org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.j > ava:2957) > > at=20 > org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.j > ava:2953) > > at org.apache.camel.impl.DefaultCamelContext. > doWithDefinedClassLoader(DefaultCamelContext.java:2976) > at=20 > org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext. > java:2953) > > at=20 > org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) > > at=20 > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.ja > va:2920) > > at=20 > org.apache.camel.spring.boot.RoutesCollector.maybeStart(RoutesCollecto > r.java:141) > > at org.apache.camel.spring.boot.RoutesCollector. > onApplicationEvent(RoutesCollector.java:116) > ... 23 common frames omitted > > This communication, along with its attachments, is considered=20 > confidential and proprietary to Vistronix. It is intended only for=20 > the use of the > person(s) named above. Note that unauthorized disclosure or=20 > distribution of information not generally known to the public is strictly= prohibited. > If you are not the intended recipient, please notify the sender=20 > immediately. > > > ------------------------------ > If you reply to this email, your message will be added to the=20 > discussion > below: > http://camel.465427.n5.nabble.com/ProducerTemplate-using- > netty4-component-tp5793064.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428h31@n5.nabble.com > To unsubscribe from Camel - Users, click here=20 > bscribe_by_code&node=3D465428&code=3Dc291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFp= b > C5jb218NDY1NDI4fDE1MzI5MTE2NTY=3D> > . > NAML > o_viewer&id=3Dinstant_html%21nabble%3Aemail.naml&base=3Dnabble.naml.names= p > aces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.vi > ew.web.template.NodeNamespace&breadcrumbs=3Dnotify_subscribers%21nabble% > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%2 > 1nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/ProducerTem= plate-using-netty4-component-tp5793064p5793073.html Sent from the Camel - Users mailing list archive at Nabble.com.