atomikos / transactions-essentials

Development repository for next major release of
https://www.atomikos.com/Main/TransactionsEssentials
Other
462 stars 139 forks source link

Message to BO Queue is taking 30 seconds to appear #208

Open vijaybaviri opened 5 months ago

vijaybaviri commented 5 months ago

Describe the bug We are using springboot with atomikos for messaging application, When we used only spring boot without Atomikos invalid messages went to back out queue as soon as application throw the exception. However when we configure Atomikos with spring boot, the message is appearing in back out queue only after 30 seconds though the application (configure to only run with single thread) throw the exception immediately in no time and the thread proceeded with next message.

To Reproduce Steps to reproduce the behavior:

  1. What you were doing (or trying to do) - Open HermesJms, send 10 invalid messages to the queue. And then start the application with single thread. Application processed all 10 messages with no time and throw exception for all 10 messages and then logs stopped updating. However if I go and check in back out queue , the messages started appearing one by one after each 30 seconds.
  2. What happened - Messages appearing in back out queue is taking 30 seconds.
  3. What you expected to happen instead - I want the message to be in back out queue as soon as application throw the exception
  4. What TransactionsEssentials version you are using - com.atomikos
        <artifactId>transactions-spring-boot3-starter</artifactId>
        <version>6.0.0</version>
    </dependency>
    <dependency>
        <groupId>javax.transaction</groupId>
        <artifactId>jta</artifactId>
        <version>1.1</version>
    </dependency>

    And spring boot version - 3.1.2

Additional context Add any other context about the problem here.

I understand that this project is not intended for support - because bug reports may or may not be considered for inclusion some day (in a future release). If this is issue is important to me then I can go to https://www.atomikos.com/Main/SupportOverview and arrange a paid support subscription.

GuyPardon commented 5 months ago

Hi,

Thanks! Can you post an atomikos log in DEBUG mode so we can see what is going on?

Guy