JMS redelivery delay


EJB programming & troubleshooting: JMS redelivery delay

  1. JMS redelivery delay (2 messages)


    We are currently designing an app to work with weblogic which in the future should be able to be supported by other app servers (notibly websphere/sunOne and possibly JBoss)

    I know that a JMS redelivery delay can be set in weblogic on the JMSConnectionFactory in something similar possible on

    Websphere (with and without MQ)

    Many thanks in advance


    Threaded Messages (2)

  2. JMS redelivery delay[ Go to top ]

    What I do is kind of a hack but you could check message.getJMSRedelivered and do a Thread.sleep().

    This will effectively throttle only those messages that have failed before and are being resent.
  3. JMS redelivery delay[ Go to top ]

    Where would you do that, in the MDB? But in that case you tie up server resources. WebSphere has a transaction timeout limit and will roll back the delivery and initiate new delivery while your thread is still sleeping.