Is there any way to configure MessageListenerAdapter response message DeliveryMode as NON_PERSISTENT. Is there any way to configure specific JmsTemplate that should be used for that?
Is there any way to configure MessageListenerAdapter response message DeliveryMode as NON_PERSISTENT. Is there any way to configure specific JmsTemplate that should be used for that?
Seems that this works:
@Override
protected void postProcessProducer(MessageProducer producer, Message response) {
producer.setDeliveryMode(DeliveryMode.NON_PERSISTE NT)
}
Can I expect any side effects?
Last edited by gdulus; Oct 2nd, 2012 at 03:57 AM.
No, that is the whole notion of "post processing" BEFORE something is used.
Oleg Zhurakousky
Spring Integration team
http://twitter.com/z_oleg
http://blog.springsource.com/author/ozhurakousky/