Try
mqQueue.Put(mqMsg, mqPutMsgOpts)
MsgBox("Message put to queue")
Catch mqe As IBM.WMQ.MQException
'* report the error
MsgBox("MQQueue::Put ended with " + mqe.Message())
End Try
With this code when i debug the message in the websphere studio i got a regular string message not XML.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
MQ is data format agnostic. In other words the format of the data inside the message does not matter to MQ at all. It is regarded as a payload.
It is the READER app that would parse the messages as XML. If that can be done then you are good to go.
Try reading the message with a tool such as RFHUTIL. This can display the results in XML format. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum