You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Xilai Dai (Jira)" <ji...@apache.org> on 2021/06/23 11:06:00 UTC

[jira] [Created] (CAMEL-16749) Unknown option brokerURL Exception in camel-activemq component

Xilai Dai created CAMEL-16749:
---------------------------------

             Summary: 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.10.0, 3.9.0
            Reporter: Xilai Dai


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)