我需要动态创建用于编组输入的骆驼绑定端点。下面是示例代码:
<dataFormats>
<bindy id="bookModel" type="Csv" classType="org.camelcookbook.transformation.csv.model.BookModel"/>
</dataFormats>
<route>
<from uri="direct:unmarshal"/>
<!-- <unmarshal ref="bookModel"/> -->
<to uri="dataformat:bindy:unmarshal?ref=bookModel"/>
</route>
而不是 unmarshal tag ,我需要将交换传递给等效的端点,但出现错误“找不到名称为 bindy 的数据格式”