Reputation: 35
I’m configuring spring cloud stream for service orchestration. Created a binder for Tibco EMS, however due to resource constraint we have multiple EMS clusters for different clients. Such as client A has a specific EMS connection url, B has a different URL. Is it possible to configure spring cloud stream to work with tenant specific connections or destinations? Such as client A will have topic MyTopic-A, MyTopic-B for client B and so on. Based on the tenant context, the sink or source will consume/publish messages to that specific topic/queues
Upvotes: 0
Views: 437
Reputation: 174484
See Connecting to Multiple Systems.
Declare multiple binders and assign a binder to each binding.
Upvotes: 1