Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spring-projects-issues opened this issue Jul 14, 2014 · 1 comment
Closed

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

spring-projects-issues opened this issue Jul 14, 2014 · 1 comment
Assignees
Labels
in: messaging type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jul 14, 2014

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

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jul 14, 2014

Stéphane Nicoll commented

a new concurrency attribute is now available both for the @JmsListener annotation and the jms/jca listener XML element.

@spring-projects-issues spring-projects-issues added in: messaging type: enhancement labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.1 RC1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: messaging type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants