the role of Service Activator design pattern in publish/subscribe message model
posted 6 years ago
As I understanded, Service Activator is used to invoke different business services on behalf the client in an asynchronous manner. Each services here is a kind of task for client to complete. It's useful to have such Activator as a consumer of the message from Queue.
Then how does Service Activator works with publish/subscribe message model? We can have many consumers or subscribers for a message from Topic. If each subscriber could do one business servcie for the client, why should we have a Service Activator as the message receiver there?
Thanks a lot to help me make it clear about the role of Service Activator in the publish/subscribe model.