3.2. Service Activator

Service Activator enables asynchronous processing in your enterprise applications using JMS. A Service Activator can invoke Application Service, Session Façade or Business Objects. You can also use several Service Activators to provide parallel asynchronous processing for long running tasks. The Service Activator pattern handles asynchronous requests to business components. 

UML representation


The following lists the benefits of using the Service Activator pattern:
  • Allows the client to continue processing
  • Integrates JMS into application

When to Use

  • You should use the Service Activator pattern when:
  • You need to invoke a business service in an asynchronous manner.