Configuring Multithreading for Request-Response Service

You can improve the performance of Request-Response Service by specifying the number of threads to process application requests. Each Request-Response Service thread is dedicated to listen on an agreed request subject.

You can set multithreading at the adapter configuration level or the adapter service level:
  • To set multithreading at the adapter configuration level, configure the Number of Request-Response Service Default Session Threads field in the Advanced tab of an adapter configuration.
  • To set multithreading at the adapter service level, configure the Request-Response Options tab of Request-Response Service:
    1. Select the Use Separate Session check box.
    2. Specify a value in the Number of Request-Response Service Threads field.
Note: If you set multithreading at both the adapter configuration level and the service level, Request-Response Service takes the thread number at the adapter service level during the process.

The configuration of multithreading is directly related to the session to be used for Request-Response Service. For details, see Multithreading and Session in Request-Response Service.