How Do I Set a Label 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.
-
Create a Link Write operation in the Data view.
-
Link on the Property column, using the literal text ‘Label’, and init the column to the same value.
-
Update the Datatype column to the datatype of the label you are setting (usually ‘A’, for Alpha).
-
Update the Data column to the value of the label you are trying to set.
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 the Message Setup Program? for how to do this.