Skip to content

Attach MessageProcessingDecorators to individual Spring Message listeners #343

@JaidenAshmore

Description

@JaidenAshmore

Currently if a MessageProcessingDecorator is added as a Spring Bean it will be attached to all of the core message listeners. It would be good to be able to define a method to easily attach a decorator to a single listener via an annotation or some other method. For example:

class MessageListeners {

     @QueueListener(...)
     @SomeDecorator
     public void listen() {
              ...
     }
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions