0

我正在使用骆驼上下文并从中创建生产者/消费者模板,以使用 jms 通信。
您能否告诉我在这种情况下设置消息确认类型的正确方法是什么?
谢谢你。

4

1 回答 1

0

It can be set on the jmsconfiguration bean if you are using one for the component. I prefer that.

It can be set on the endpoint url too

template.send("activemq:queue:...?acknowledgementModeName=..);
于 2013-03-13T04:40:54.987 回答