• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
reply
    Bookmark Topic Watch Topic
  • New Topic