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 DD965200C5C for ; Wed, 5 Apr 2017 10:32:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DC507160B91; Wed, 5 Apr 2017 08:32:45 +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 33B30160B94 for ; Wed, 5 Apr 2017 10:32:45 +0200 (CEST) Received: (qmail 72260 invoked by uid 500); 5 Apr 2017 08:32:44 -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 72250 invoked by uid 99); 5 Apr 2017 08:32:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2017 08:32:44 +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 C8CA21A0764 for ; Wed, 5 Apr 2017 08:32:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RIMz5OLaEbPv for ; Wed, 5 Apr 2017 08:32:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6122E5FAE7 for ; Wed, 5 Apr 2017 08:32:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D3F4FE02AA for ; Wed, 5 Apr 2017 08:32:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 939A121D63 for ; Wed, 5 Apr 2017 08:32:41 +0000 (UTC) Date: Wed, 5 Apr 2017 08:32:41 +0000 (UTC) From: "Christian Schneider (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-11109) Failed to resolve endpoint when using destination.consumer.exclusive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Apr 2017 08:32:46 -0000 Christian Schneider created CAMEL-11109: ------------------------------------------- Summary: Failed to resolve endpoint when using destination.consumer.exclusive Key: CAMEL-11109 URL: https://issues.apache.org/jira/browse/CAMEL-11109 Project: Camel Issue Type: Bug Components: camel-jms Affects Versions: 2.18.3, 2.17.6, 2.16.5 Reporter: Christian Schneider Assignee: Christian Schneider Fix For: 2.16.6, 2.17.7, 2.18.4 The queue below will fail with the EexceptionesolveEndpointFailedException: Failed to resolve endpoint Route: from("jms:queue:queue1?destination.consumer.exclusive=true").to("log:test"); Full exception: Exception in thread "main" org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[[From[jms:queue:queue1?destination.consumer.ex... because of Failed to resolve endpoint: jms://queue:queue1?destination.consumer.exclusive=true due to: Failed to resolve endpoint: jms://queue:queue1?destination.consumer.exclusive=true due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{destination.consumer.exclusive=true}] at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:201) at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:984) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3401) at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3132) at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:183) at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2961) at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2957) at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2980) at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2957) at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2924) at test.Starter.main(Starter.java:17) Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: jms://queue:queue1?destination.consumer.exclusive=true due to: Failed to resolve endpoint: jms://queue:queue1?destination.consumer.exclusive=true due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{destination.consumer.exclusive=true}] at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:623) at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79) at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114) at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:69) at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1051) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196) ... 11 more Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: jms://queue:queue1?destination.consumer.exclusive=true due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{destination.consumer.exclusive=true}] at org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:183) at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:125) at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:603) ... 19 more -- This message was sent by Atlassian JIRA (v6.3.15#6346)