0
如何使用apache camel
和spring
訂閱隊列到主題?訂閱隊列使用駱駝路由的主題
我不喜歡這樣
amazonSNSClient.subscribe("arn:aws:sns:yopa-local:000000000000:test-topic-with-subscriptions",
"sqs", "arn:aws:sqs:yopa-local:000000000000:test-subscribed-queue-standard");
使用參數
endpoint -> arn:aws:sqs:yopa-local:000000000000:test-subscribed-queue-standard
protocol -> sqs
topic-arn -> arn:aws:sns:yopa-local:000000000000:test-topic-with-subscriptions
它似乎很好地工作。但如何使用camel
來做到這一點?