springwolf-core icon indicating copy to clipboard operation
springwolf-core copied to clipboard

auto-detect "channelName"

Open rfelgent opened this issue 7 months ago • 2 comments

Describe the feature request Similar to payloadType I would like to have an auto-detection feature for channelName. The channelName can be derived from @RabbitListener(queues = XXX) or @RabbitListener(queuesToDeclare = XXX) or @RabbitListener(bindings = XXX) automatically.

Motivation Keep DRY-Principle.

Technical details Should be possible similar to payloadType.

Describe alternatives you've considered Repeating the configuration in @RabbitListener#queues and @AsyncOperation#channelName

rfelgent avatar Sep 19 '25 14:09 rfelgent

anybody ?

rfelgent avatar Sep 26 '25 08:09 rfelgent

Sounds like a good addition to Springwolf. We will have a look into it once our tim allows it.

Feel free to look into it yourself and contribute it as a PR. The plugin system can be used as a starting point.

sam0r040 avatar Sep 26 '25 12:09 sam0r040