java - Do i have to use "Spring Rabbit" instead of "Spring Cloud Stream" -
i'm working on project tries adopt messaging-driven framework. (different independent components communicate messages routed message broker)
rabbitmq chosen broker finally.
for framework, @ first try use spring cloud stream, when try leverage rabbit characteristics, such as: exchange, routing key, alternate exchange... find hard use them in spring cloud stream.
so question is:
- do have use spring rabbit (or maybe spring integration) instead of spring cloud stream?
- do have suggestions/best practices them?
spring cloud stream opinionated queues, exchanges, routing keys; considering adding more flexibility in future release but, now, can use spring amqp directly , it's not lot different - @rabbitlistener
instead of @streamlistener
example. whether or not add spring integration depends on application needs are.
Comments
Post a Comment