Enable/Disable spring cloud stream binder based on conditional properties

Viewed 2078

Created Library which has one cloud stream consumer and cloud stream producer and this library injected in all the micro services as a dependency, this works fine for me.

I have requirement that some micro services doesn't need consumer. So looking for flexibility to disable/enable consumer based on some configured properties to use the same library.

1 Answers
Related