Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6549329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:04:47+00:00 2026-05-25T12:04:47+00:00

Can we control the transaction retry interval in MDB? If so, please provide an

  • 0

Can we control the transaction retry interval in MDB? If so, please provide an example or direct me to the documentation. We want to set up a time interval of 3 min for MDB transactions. The desire is that if the query fails \first time, then it retries after 3 min of time has elapsed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:04:48+00:00Added an answer on May 25, 2026 at 12:04 pm

    Vairam;

    Take a look at the Hornet Documentation for Message Redelivery. The issues you need to consider are:

    • The redelivery delay (you indicated 3 minutes).
    • The number of times the message should be redelivered.
    • If you elect not to redeliver indefinitely, the final action that occurs when the last redelivery attempt fails which could be:
      • Drop the message.
      • Enqueue the message to the designated DLQ.
      • Enqueue the message to some other queue.

    Setting the redelivery delay

    Delayed redelivery is defined in the address-setting configuration.

    Example:

     <!-- delay redelivery of messages for 3m -->
     <address-setting match="jms.queue.exampleQueue">
        <redelivery-delay>300000</redelivery-delay>
     </address-setting>
    

    Setting the maximum number of redeliveries and DLQ configuration

    This can be defined declaratively by specifying the DLQ configuration in the address-setting configuration:

    Example:

     <!-- undelivered messages in exampleQueue will be sent to the dead letter address 
        deadLetterQueue after 3 unsuccessful delivery attempts
      -->
     <address-setting match="jms.queue.exampleQueue">
        <dead-letter-address>jms.queue.deadLetterQueue</dead-letter-address>
        <max-delivery-attempts>3</max-delivery-attempts>
     </address-setting>
    

    If you want to drop the message after the designated number of redelivery failures, check the message header value of “JMSXDeliveryCount” and if that number is equal to the maximum redeliveries, simply supress any exceptions and commit the transaction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way I can control columns from code. I had a drop
I was wondering what settings an application can control to improve battery life in
Can I control the order static objects are being destructed? Is there any way
I can not control the scrolling of a scrollpane from within my actionscript (I
how can i control swf background transparency in vb.net.........either with flash.ocx or if there
How can i control all my forms from main () Form1 frm1 = new
It seems that I can't control the NSApp delegate from within a System Preferences
I have a view user control that can post form. This control can be
I have a user control where the XAML of the control can bind to
With WinForms, I can use Control.Scale to scale a control larger. When I do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.