Back Forward About Service MQ rules
 

Integration Services category
  1. About 
  2. New 
  3. Service 
  4. Request 
  5. Response 
  6. History 
  7. More... 

Purpose

Use a package of Service MQ rules to let external systems and users access PRPC data and processing using the IBM WebSphere MQ middleware messaging standard. Each Service MQ rule identifies an activity providing the service. The external system passes an MQ message to PRPC, which runs the activity and then may return an output MQ message.

NoteWhen PRPC is deployed as an enterprise application, you must use a message-driven bean (MDB) as the listener for message-based service rules (JMS and MQ). As a result, although you can use WebSphere MQ as a JMS service provider, use JMS MDB listeners with JMS service rules, rather than MQ listeners with MQ service rules, when PRPC is deployed as an enterprise application.

MQ services generally process service requests synchronously. That is, they immediately perform the requested processing and return a configured response while the calling application waits. However, you can configure MQ services to process service requests asynchronously, which means the service queues the request for asynchronous execution and the calling application calls back later for the results. Additionally, you can configure synchronous MQ services to check for specific error conditions that you expect will be temporary — work item locks, for example — and then queue service requests that fail for those reasons for another attempt at a later time.

For information about creating MQ services, see PDN article Using the Service Accelerator. See also:

Access

Use the Application Explorer to see Service MQ rules in your application. Use the Records Explorer to list all Service MQ rules that are available to you.

Category

Service MQ rules belong to the Integration-Services category. A Service MQ rule is an instance of the Rule-Service-MQ rule type.

Definitions message-driven bean
Related topics Unit testing a Service MQ rule
Standard rules Atlas — Standard Service MQ rules

Integration-Services category
Help System home pageHelp Home