Results 1 to 3 of 3

Thread: MessageListenerAdapter response message

  1. #1
    Join Date
    Oct 2012
    Posts
    2

    Default MessageListenerAdapter response message

    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?

  2. #2
    Join Date
    Oct 2012
    Posts
    2

    Default

    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.

  3. #3
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    No, that is the whole notion of "post processing" BEFORE something is used.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •