[
https://issues.apache.org/jira/browse/CAMEL-11109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider closed CAMEL-11109.
---------------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 2.17.7)
(was: 2.18.4)
(was: 2.16.6)
After talking to Claus I close this issue. The destination. options are not
processed by the jms component. They are only available for the activemq
component.
> 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.16.5, 2.17.6, 2.18.3
> Reporter: Christian Schneider
> Assignee: Christian Schneider
>
> 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)