spring-cloud-stream request-reply messaging pattern

前端 未结 1 1698
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-09 04:57

Is there a request-reply pattern that one should use with spring-cloud-stream? All the documentation I can find on spring-cloud-stream is geared toward the MessageChannel.send f

1条回答
  •  囚心锁ツ
    2021-02-09 05:08

    There is not currently any notion of request/reply in spring cloud stream.

    Consider it an analogy of a unix pipe foo | bar | baz where each "application" or microservice takes some input and forwards it to the next element in the pipe.

    Consider a stand-alone spring-boot app utilizing spring-integration for request/reply scenarios. Of course, that app can use s-c-s to do its work.

    0 讨论(0)
提交回复
热议问题