Adapter for IBM Power 10.11 | Adapter Services | Configuring Write DataQueue Services
 
Configuring Write DataQueue Services
A Write DataQueue service inserts new information into an IBM Power dataqueue. You configure webMethods Adapter for IBM Power services using Designer. For more information about adapter services, see Adapter Services.
Be sure to review the section Before Configuring or Managing Adapter Services before you configure adapter services.
*Perform the following steps to configure a Write DataQueue service:
1. In Designer, right-click the package in which the service must be created and select New > Adapter Service.
2. Select the parent namespace, type a name for the adapter service, and click Next.
3. Select webMethods Adapter for IBM Power as the adapter type and click Next.
4. Select the appropriate Adapter Connection Name and click Next.
5. From the list of available templates, select the Write DataQueue template and click Finish.
The adapter service editor for the adapter service appears. You can select the Adapter Settings tab at any time to confirm adapter service properties such as the Adapter Name, Adapter Connection Name, and Adapter Service Template, as necessary.
6. Select the Write DataQueue tab to configure the dataqueue using the fields as follows:
Field
Description/Action
Library Name
Name of the library where the dataqueue exists. Type the library name or select from the library list (containing user, system, and other libraries added).
Queue Name
Name of the dataqueue to which the adapter service writes.
Queue Type
Type of dataqueue. Possible values are:
*Sequential. Dataqueue organized in a linear or sequential (FIFO or LIFO) order.
*Keyed. Dataqueue organized as key-value pair. The key-value pair allows direct access to messages based on the specific identifier (key).
Key Type
List of the IBM Power native data types in which the key is stored in the dataqueue, if the Queue Type is Keyed.
Key Input Type
List of the possible Java data types corresponding to the Key Type selected, if the Queue Type is Keyed.
Key Length
Length of the key in bytes if the Queue Type is Keyed.
Key Value
Value of the key if the Queue Type is Keyed.
7. Use the Record Data tab to define the record as follows:
a. Use the Insert row icon to create new rows as needed.
b. As you insert rows, the following fields are displayed for each Data Name:
Field
Description/Action
Data Name
Name of the record.
Native Data Type
List of IBM Power native data types for the record.
Byte Length
Length in bytes of the data value.
Is Array
Flag to indicate if the data value is an array.
Input Data Type
List of possible Java data type corresponding to the Native Data Type and Is Array fields selection.
Data Value
Value of the record to store in the dataqueue. You can specify the data value either in the field or during runtime. If the intention is to provide the value at runtime, then include a ? in the Data Value field.
c. If necessary, use the Up or Down icons to change the order.
d. Use the Delete icon to delete the row.
8. From the File menu, select Save.