You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2021/06/23 11:11:00 UTC
[jira] [Resolved] (CAMEL-16749) Unknown option brokerURL Exception
in camel-activemq component
[ https://issues.apache.org/jira/browse/CAMEL-16749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-16749.
--------------------------------------
Resolution: Information Provided
It's a component option, not an endpoint one.
> Unknown option brokerURL Exception in camel-activemq component
> --------------------------------------------------------------
>
> Key: CAMEL-16749
> URL: https://issues.apache.org/jira/browse/CAMEL-16749
> Project: Camel
> Issue Type: Bug
> Components: camel-activemq
> Affects Versions: 3.9.0, 3.10.0
> Reporter: Xilai Dai
> Priority: Major
>
> Simple route, specify the "brokerURL" option, e.g
> from(timer:xxx)...to("activemq:queue:abc?brokerURL=tcp://localhost:61616")
> then ResolveEndpointFailedException when running the route
> {code:java}
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: activemq://queue:abc?brokerURL=tcp://localhost:61616 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=[{brokerURL=tcp://localhost:61616}]
> at org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:299)
> at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:192)
> at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:929) {code}
>
> Event though the "brokerURL" option is documented as suppported,
> https://camel.apache.org/components/latest/activemq-component.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)