apache-camel - Camel + Spring 的持久订阅有问题
问题描述
我正在使用 Apache Camel 3.4 + Spring Boot 2.3.1 在 ActiveMQ Artemis 上创建持久订阅:
from("jms:topic:{{spring.artemis.topicname}}?clientId={{spring.artemis.clientname}}&durableSubscriptionName={{spring.artemis.durablesubscriptionname}}&subscriptionShared=true")
但我收到了如下异常。有没有人有建议或想法如何解决它?
Cause: setClientID call not supported on proxy for shared Connection. Set the 'clientId' property on the SingleConnectionFactory instead.
解决方案
推荐阅读
- java - 如何根据 Html 标签拆分 Html 字符串
- yaml - docker compose 中多个服务的 yaml 文件配置
- amcharts - Amcharts,是否可以在将 ValueAxis 用于 x 轴时设置系列工具提示
- azure - 如果从 .NET SDK 服务主体帐户创建,则无法在 Azure 门户中看到实时流媒体频道
- python - 如何从.exe文件中删除用python编写的.exe文件?
- javascript - 函数参数内的箭头函数缩小不正确
- android - 多次执行 swipeToRefresh 后,Recycler View 数据重复
- apache - .htaccess 忽略 RewriteCond
- youtube-api - 嵌入式播放器在不清楚的情况下向部分用户显示“请点击此处在 YouTube 上观看此视频”
- android - 从一项活动转到另一项活动时应用程序停止