Camel Consumer在maven升级到3.10后未从Azure存储Blob阅读

gxwragnw  于 2022-11-07  发布在  Apache
关注(0)|答案(1)|浏览(142)

升级到camel3.10和camel-azure版本后,消费者不再从azure存储容器中阅读数据。

之前

Camel 版3.4.0
第一个

之后

Camel 版本3.10
第一个
路由已启动,应用程序运行良好,但未使用任何内容

INFO  main [camel.spring.boot.CamelSpringBootApplicationListener(onCamelContextStarted:146)] Starting CamelMainRunController to ensure the main thread keeps running
INFO  main [camel.impl.engine.AbstractCamelContext(logStartSummary:2983)] Routes startup summary (total:1 started:1)
INFO  main [camel.impl.engine.AbstractCamelContext(logStartSummary:2988)]     Started testRoute (timer://test)
INFO  main [camel.impl.engine.AbstractCamelContext(logStartSummary:3000)] Apache Camel 3.10.0 (camel-1) started in 877ms (build:28ms init:232ms start:617ms)
INFO  main [nl.ecs.batchfraudscoringadapter.BatchFraudScoringAdapterApplication(logStarted:61)] Started MyApplication in xxx seconds (JVM running for xxx)
INFO  main [springframework.boot.availability.ApplicationAvailabilityBean(logStateChange:75)] Application availability state LivenessState changed to CORRECT
INFO  main [springframework.boot.availability.ApplicationAvailabilityBean(logStateChange:75)] Application availability state ReadinessState changed to ACCEPTING_TRAFFIC
INFO  main [nl.ecs.batchfraudscoringadapter.BatchFraudScoringAdapterApplication(main:28)] MyApplication Started

我错过了什么?

  • 此致Srikant
at0kjp5o

at0kjp5o1#

谢谢您Pasi Österman。将您的建议作为答案发布,以帮助其他社区成员。
camel-azure-storage-blob使用Azure SDK版本12,但com.microsoft.azure/azure-storage/8.6.6适用于SDK版本8
如果您在myProcessor中使用它,您可能需要更新处理器以使用较新版本的SDK。依赖项camel-azure-storage-blob可能已经包含较新版本SDK的依赖项,因此您可以使用这些依赖项。
您可以参考Camel Azure Storage Blob Service

相关问题