Subscription Options Tab
The Subscription Options tab is available only for Subscription Service. You can use the resources in this tab to specify an exceptions table and an opaque exceptions table. The adapter uses the exceptions table to store error messages from database operation failures.
The following table lists and describes the fields in the Subscription Options tab:
Name | Description |
---|---|
Subscription Service Base Information Panel | |
Use Separate Session | This feature is used with Subscription Service multithreading. When you select this check box, the Number of Subscription Service Threads field is displayed. After you set a value in this field, the multiple threads can share the same session and dispatcher. |
useSerial | This field is displayed only if the
Use Separate Session check box is selected.
This option is designed to ensure that all messages are processed in order. |
Number of Subscription Service Threads | This field is displayed only if the
Use Separate Session check box is selected.
Threads are allocated on demand. The valid values are from 1 through n. The number of threads you set in Subscription Service indicates the number of subscription threads that will connect to the database. For more information, see Multithreading and Session in Subscription Service. |
Subscription Service Option Information Panel | |
Exceptions Table | Name of the exceptions table where data is written if the adapter cannot write to the subscriber table. This table holds messages that caused an exception. If a table does not exist, Subscription Service creates one such table. For details, see "Exceptions Table" in
Handling Exceptions.
The exceptions table cannot contain any user-created columns where the column name starts with ADB_. These characters are reserved for use by the adapter. |
Use Opaque Exceptions Table | Select this check box to use an opaque exceptions table. The table records each message (entirely) into a column, along with the error message.
A message is logged into the exceptions table if Subscription Service fails to generate records in the destination table or the adapter fails to insert a message into an exception table. For details, see "Opaque Exceptions Table" in Handling Exceptions. For DB2/390 databases, you must create a LOB tablespace before using the opaque exceptions table, which uses the LOB tablespace. |
Opaque Exceptions Table | Name for the opaque exceptions table. For details, see "Opaque Exceptions Table" in Handling Exceptions. |
Pre Commit Stored Procedure | The value entered here represents the name of a stored procedure the Subscription Service calls after the database insert, update, or delete operation and prior to commit. |
Reply Sender Quality of Service | If the Subscriber endpoint must send a reply to the sender, this value identifies the quality of service or delivery mode to be used when sending the reply. See "Supported Sessions" in Sessions and Endpoints and Guideline for Configuring the Delivery Mode (JMS Only). |
Bulk Insert Size | When configured for batch processing, the adapter stores incoming subscription requests in a batch. All incoming messages to be inserted are stored until this size is reached.
Then, a bulk insert operation is performed on the destination table by using a single processing. This number must be less than or equal to the value in Batch Commit Size. The default value is 1. The batch is emptied when the batch size is reached. Note: In the parent-child relationship situation, you must note the following:
|
Batch Commit Size | The number of messages to be batched before a commit operation is invoked. The default value is 0. |
Batch Commit Timeout (milliseconds) | Specifies the longest interval between two batch commits. When the specified timeout expires, Subscription Service commits all received messages even if the number does not reach the
Batch Commit Size value. The default value is
10,000 milliseconds.
The batch commit feature does not commit all received messages if the adapter configuration terminates before the batch commit value or time-out value is met. With RVCMQ enabled, when the batch commit size is greater than 1, batch commit times out after each operation (insert, update, or delete). |
Rendezvous Maximum Queue Size | Maximum number of messages that can be put in the TIBCO Rendezvous event queue. The default value is
0, which means no limit is placed on the event queue size.
Use this option to prevent the memory of a Subscriber endpoint from overflowing if the Publisher endpoint is too fast. |