Adding a JMS message header property
You can define header properties for a JMS message destination.
Procedure
- Click
Configuration > Datastores.
Ensure that you are connected to a CDC Replication Engine for Event Server datastore.
- Click
Configuration > Subscriptions.
Ensure that you have created a subscription that uses the CDC Replication Engine for Event Server datastore as the target.
- Select the subscription that contains the table mapping to a message destination.
- Click the Table Mappings view and select the table mapping from the Source Table column.
- Right-click and select Open Details....
- Click the XML Settings tab.
- Select one of the following in the Standard
Settings area:
- JMS Correlation ID
- Provides a way to correlate related messages.
- This is normally used for a request or response scenario. This can either be a vendor-specific ID, an application-specific string, or a provider-native byte value.
- JMS Priority
- Indicates the priority at which the JMS server will handle the message.
- By default, IBM® CDC Event Server assigns a priority of 4. JMS uses a priority scale from 0 to 9, where 0 indicates the lowest priority and 9 indicates the highest priority.
- JMS Reply To
- Contains a destination supplied by a client when a message is sent.
- If you want to receive a response from the JMS queue or topic when either of these destinations receive a message, then specify the destination.
- JMS Time to Live
- Specifies the number of milliseconds that you want the XML message to remain in the queue or topic.
- This value is used by your JMS provider to delete XML messages automatically once the amount of time specified in the box expires. The default value is 0, which indicates that the XML message will never be deleted automatically from the queue or topic.
- JMS Type
- Specifies the type of message you are sending.
- This could be the name of the queue or topic. Your JMS provider can use a message repository that contains the definition of messages sent by third party applications. You should enter a symbolic value that can be configured to the values defined in the current providers' message repository.
- Click
to open the
expression editor and set a value for the JMS property. - Specify a value (enclose the value in quotation marks) or an expression for the JMS property and click Verify .
- Click OK.
- Click Save.