【发布时间】:2021-02-12 19:24:55
【问题描述】:
我对 3.7.2 有以下依赖:
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-dependencies</artifactId>
<version>3.7.2</version>
我在代码中有这个:
fluentProducerTemplate.to("direct:myenpoint");
fluentProducerTemplate.send();
此代码在升级之前一直有效,但现在它抛出:
java.lang.IllegalArgumentException:FluentProducerTemplate 上没有配置端点。您可以使用 to(uri)` 配置端点
现在我无法弄清楚为什么它抱怨将端点配置为端点在to(endpoint) 调用中明确设置。我在他们的文档中找不到任何内容。
【问题讨论】: