java - Spring cloud stream to support routing messages dynamically -
i want create common project (using spring cloud stream) route messages different (consumer) projects dynamically according message content. (rabbitmq message broker)
does spring cloud stream support it? if not, proposed way accomplish that? thx
you can achieve setting spring.cloud.stream.dynamicdestinations
property list of destination names (if know name beforehand) or keeping empty. binderawarechannelresolver
takes care of dynamically creating/binding outbound channel these dynamic destinations.
there out of box router
application available similar thing.
Comments
Post a Comment