Passing all context

 

If your application gets a message, and puts the message data (unchanged) into another message, the application must pass both the identity and the origin context information from the original message to the new message. An example of an application that might do this is a message mover, which moves messages from one queue to another.

Follow the same procedure as for passing identity context, except that you use the MQOPEN option MQOO_PASS_ALL_CONTEXT and the put-message option MQPMO_PASS_ALL_CONTEXT.

 

Parent topic:

Controlling context information


fg12400_