I am new to MQSeries and am working on the design for an application that involves two MQSeries servers conversing with each other. I am aware that this involves two channel pairs as a channel is unidirectional. The message sent over a channel could be one of various types. When the message is received in the local queue, how does one go about identifying what type of message it is? Is there something in the header that identifies the message type? How do I create a MQSeries message type once I know what data, types the message must be composed of? I am assuming that I can send messages of different types over the same queue. Is this correct? Ideally I am looking for sample code that shows two MQSeries servers talking to each other sending different message types preferably using the MQSeries for C++ API. Any feedback is appreciated.
Thanks
Thanks