Selecting Partitioning Fields
You can partition queues using any combination of:
-
Database record fields.
-
Message header fields.
-
Message XML fields.
Database Record Fields
Database record fields are the data fields in a PeopleSoft rowset-compatible message. Typically, the more service operations that you assign to the queue, the fewer fields they have in common.
The database record fields that are common to all service operations in the queues appear in the queues’s Common Field list. If only one service operation is assigned to the queues, all of its fields appear on the partitioning list.
To designate a field as a partitioning key, select the check box next to its name.
Message Header Fields
The message header fields are system-maintained fields that are common to all service operations, regardless of format. If a queue includes any nonrowset-compatible service operations, the message header fields are the only ones that PeopleSoft Integration Broker recognizes as common to every service operation. You can view them as part of the message XML in Integration Broker Monitor. You can also access some of them using equivalent PeopleCode Message class properties, as indicated later in this topic. The message header fields are:
-
OPERATIONNAME: This field contains the name of the operation in the PeopleSoft Pure Internet Architecture.
-
PUBLISHER: This field contains the user ID that is in effect when the service operation is published, that is, the ID of the user who is signed in to the publishing database.
-
PUBPROC: This field refers to the PeopleSoft process that publishes the service operation.
It is generated when the service operation is published, and it can be the name of a component, an Application Engine program, or an iScript program.
These header fields are always available in the queue’s partitioning field list. To designate a field as a partitioning key, select the Include check box next to its name.
Message XML Fields
The message XML fields comprise all the fields that exist anywhere in a message, including PeopleSoft common application message attributes (PSCAMA) record fields. Such fields may not be visible in the queues’s partitioning field list, but they are valid for partitioning. Message XML fields can have aliases, allowing for support of mixed-case names.
To designate a message XML field as a partitioning key:
-
Access the Queue Definitions page ().
-
Click the Add Field button.
-
Enter the tag name of the XML field, or click the Lookup button to search for one.
The value does not have to be in the database.
All names are uppercase by default. You can then add an alias, which can be mixed-case for partitioning.
At runtime, the integration engine searches each message for the first instance of that field tag and uses the value that is associated with it for partitioning. Therefore, if you have common fields in the PSCAMA record that are specific to a batch publish set, you can use those fields.