Results 1 to 3 of 3

Thread: jms:inbound-gateway Temporary queue exception

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Default jms:inbound-gateway Temporary queue exception

    I am using Active MQ temporary queues to communicate between a server and multiple clients (each client has it's
    own queue). If a client dies before the reply is received - the server is getting a jms exception (which is correct).
    The messages are getting rolled back and the server is stuck. Is there any way to commit the messages and proceed?
    I am using jms:inbound-gateway and the reply mesages are auto-generated.
    Any help is appreciated

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

    Default

    So basically you are asking how to disable the transaction in the inbound-gateway so once it receives the message it never rolls back on the queue regardless of what happened in the inbound-gateway or downstream. Is that right?

  3. #3
    Join Date
    Jul 2012
    Posts
    2

    Default

    Not exactly - the process is transactional and it should be - what i am trying to do is - catch "Deleted Destination" exception and
    commit.

Tags for this Thread

Posting Permissions

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