Results 1 to 3 of 3

Thread: DefaultMessageListenerContainer and exceptions

  1. #1
    Join Date
    Mar 2008
    Posts
    3

    Default DefaultMessageListenerContainer and exceptions

    What's the right way to propagate a listener exception to the JMS provider using the DefaultMessageListenerContainer? Some of the resources used by my listener are unreliable and an exception thrown by one of them causes the DMLC to spam the app server's logs by continually trying and failing to handle the message. I'd prefer it just give up and let the JMS provider attempt a redelivery later, as happens when using an MDB.

    -bl

  2. #2
    Join Date
    Aug 2004
    Location
    Linz, Austria
    Posts
    391

    Default

    Well, it's up to the JMS provider to redeliver the message to your DMLC. Configuring the JMS provider for appropriate retry limits and backoff delays is usually sufficient. Is there anything more specific that you would expect to happen within DMLC?

    Juergen

  3. #3
    Join Date
    Mar 2008
    Posts
    3

    Default

    My mistake. Looks like I configured one queue for redelivery and not the other.

    -bl

Posting Permissions

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