首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >Camel 3.2 PahoEndpointBuilder不工作

Camel 3.2 PahoEndpointBuilder不工作
EN

Stack Overflow用户
提问于 2020-04-16 09:00:13
回答 1查看 81关注 0票数 0

我试着使用PahoEndpointBuilder

代码语言:javascript
代码运行次数:0
运行
复制
    PahoEndpointBuilder endpoint = paho (topic).brokerUrl (brokerUrl);

但是基于该端点启动路由总是会导致异常。

代码语言:javascript
代码运行次数:0
运行
复制
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: paho:myTestTopicMandant9?brokerUrl=tcp%3A%2F%2Flocalhost%3A1883 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:1883}]
    at org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:351)
    at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:169)
    at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:952)

这是一个bug吗?

EN

回答 1

Stack Overflow用户

发布于 2020-04-17 13:11:35

这是Camel3.2中的一个bug,已经被记录在JIRA中:https://issues.apache.org/jira/browse/CAMEL-14921

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61241035

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档