Skip to content

DefaultMessageListenerContainer should be able to scale down using default config #32260

Closed
@apinske

Description

@apinske

Affects: 5.3.31

  • the active listener threads do not automatically scale down (using default config)
  • taken code path DefaultMessageListenerContainer.AsyncMessageListenerInvoker.executeOngoingLoop()
  1. Why are there two different code paths for the polling in the first place?
  2. Can you add the ability for scale-down to the executeOngoingLoop-Case as well?

Find a sample here: https://github.com/apinske/playground-mq/tree/scaling
see also: spring-projects/spring-boot#39533

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions