Skip to content

Back-off for DefaultMessageListenerContainer with OracleAQ has changed and is very short in SpringBoot 4 #36809

@andersnorgaard

Description

@andersnorgaard

I think I have a problem that is somewhat similar to #36143 but slightly different, and still present in SpringBoot 4.0.6

I am running OracleAQ, and when I stop the queue (dequeue) in the database via SQL then the DefaultMessageListenerContainer logs warnings along the lines of

2026-05-15T14:14:20,911 [gChannel.container-390] WARN or.sp.jm.li.DefaultMessageListenerContainer - {} - Setup of JMS message listener invoker failed for destination 'G_QUEUE' - trying to recover. Cause: JMS-120: Dequeue failed. JDBC Connection Info:Instance: FREE(1), Session: (240.33763), Process ID: 5706, DB Name: FREE, DB UserId: 138, Service: freepdb1, Approx Start Time: Fri May 15 14:14:20 CEST 2026

On SpringBoot 3.5.8 the logs would appear roughly one per 5 seconds, while on 4.0.6 I get around 200 lines in 5 seconds. In the example above the thread-id had incremented to 390 in around 10 seconds.

The sql to disable dequeue is

BEGIN DBMS_AQADM.STOP_QUEUE (queue_name => 'G_QUEUE', enqueue => FALSE, dequeue => TRUE); END;

Do you also think that the 5-second interval is the intended behavior?

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: regressionA bug that is also a regression

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions