• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the role of Service Activator design pattern in publish/subscribe message model

 
mimi mang
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

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.

Merry Christmas!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic