Salesforce

How Do I Set the Priority for a Message Sent to MSMQ? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Set the Priority for a Message Sent to MSMQ? (Magic xpa 3.x)

An MSMQ message has a series of properties defined by Microsoft. The Magic xpa MSMQ component will set these properties for you when it sends the message. All you need to do is to set the property within the component. This is done using the MSMQ External Message Set table.

Setting the MSMQ Priority property

  1. Create a Link Write operation in the Data view.

  2. Link on the Property column, using the literal text ‘Priority’, and init the column to the same value.

  3. Update the Datatype column to ‘N’.

  4. Update the Data column to the priority code, in string format. Use the Str() function to convert the code to an alpha string, if needed.

Send the table to the component

Next, you need to send the table with all your properties to the component. See How Do I Send the MSMQ External Message Table to a Message Setup Program? for how to do this.

Reference
Attachment 
Attachment