Skip to content

Customize concurrency per JMS listener [SPR-11988] #16604

@spring-projects-issues

Description

@spring-projects-issues

Stéphane Nicoll opened SPR-11988 and commented

Customizing the concurrency per listener sounds an obvious feature but the namespace only allows to do this per jms:listener-container (that is, every listeners in the same containers get the same concurrency). The only way to get around this is to have on listener per container or fallback on an abstract bean definition (i.e. not use the namespace)

As @JmsListener is aligned on the namespace, it suffers the same limitation.

The purpose of this issue is to add a concurrency attribute at the listener level (and on the annotation).

See also http://stackoverflow.com/questions/21860195/jmstemplate-define-concurrency-per-queue/21865846#21865846


Affects: 4.0.6

Referenced from: commits 29bdbce

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