Specify User-Defined Document IDs
Use the following procedure to specify user-defined document IDs.
To specify user-defined document IDs
1. In Integration Server Administrator, go to the Settings > Extended page.
2. Click Edit Extended Settings.
3. In the Extended Settings box, set the watt.server.auditDocIdField property as follows:
watt.server.auditDocIdField=user_defined_field
user_defined_field must be of type Broker unicode string and can be up to 128 characters long. user_defined_field is case sensitive.
For BrokerEvents published using the Java client API, define
user_defined_field in one of the following ways:
watt.server.auditDocIdField=_env. field_name, where
field_name is an envelope field. For example, if
uuid is set in the envelope, set
watt.server.auditDocIdField as follows:
watt.server.auditDocIdField=_env.uuid
watt.server.auditDocIdField=field_name , where
field_name is a body field. For example, if
SSN is set in the body, set
watt.server.auditDocIdField as follows:
watt.server.auditDocIdField=SSN
For JMS messages published using the JMS API, define
user_defined_field in one of the following ways:
watt.server.auditDocIdField=_env.field_name , where
field_name is an envelope field. For example, if
Message.setJMSMessageID(String id) is set in the envelope, set
watt.server.auditDocIdField as follows:
watt.server.auditDocIdField=_env.jms_message_id
watt.server.auditDocIdField=Properties. field_name, where
field_name is a property of the message. For example, if
Message.setStringProperty(customId, XYZ) is set on the message before publishing, set
watt.server.auditDocIdField as follows:
watt.server.auditDocIdField=Properties.customId
4. Click Save Changes, and then restart Integration Server.