Request-Response Options Tab
In Request-Response Service, you can use the Request-Response Options tab to set different modes of RPC Service.
The following table lists and describes the fields in the Request-Response Options tab:
Field | Description |
---|---|
Request-Response Service Base Information Panel | |
Mode | Specifies an endpoint to be a Request Reply server or Remote Procedural Call (RPC) server. The value can be: |
Maximum Rows | Specifies the maximum number of rows to be fetched in the service level. This can be used to limit the memory usage of the adapter. The unfetched rows are ignored by the adapter.
Note: You can also set this field in the operation level when using custom RPC Service, and the
Maximum Rows value set in the operation level takes higher precedence over the value set in the service level. For details on how to perform the configuration in the operation level, see
Setting Maximum Rows in the Operation Level.
In the log file, only the maximum number of rows in the service level is printed. |
Use Custom operations | This check box is displayed if you select RPC from the Mode list. Select this check box and fetch the stored procedure by following the steps in Fetching Stored Procedures. |
Use Separate Session | Select this check box to create a new session, and move the service endpoint to this session. This feature is used with Request-Response Service multithreading. When you select this check box, the
Number of Request-Response Service Threads field is displayed.
After you set the value in this field, the multiple threads can share the same session and dispatcher. See Multithreading and Session in Request-Response Service for details. |
Number of Request-Response Service Threads | Indicates the number of threads the adapter service uses to connect to the database. The valid values are from
1 through
n.
Each thread has a separate connection to the database. By specifying multiple threads, you can balance the incoming RPC request load. See Multithreading and Session in Request-Response Service for details. |
Reply Subject | (Request-Reply mode only)
Specifies a subject name that the adapter uses to respond to a request. If no response, a subject is specified in the request message. The subject name in the Reply Subject field cannot be the same as the name in the Destination field. |