Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用骆驼上下文并从中创建生产者/消费者模板,以使用 jms 通信。 您能否告诉我在这种情况下设置消息确认类型的正确方法是什么? 谢谢你。
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=..);