• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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!
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic