Posted: Mon May 17, 2010 4:49 pm Post subject: MQ on Unix adding special chars
Apprentice
Joined: 23 Mar 2010 Posts: 25
I am using .net client to post mesages to MQ server which is hosted on Unix. It is added some control character before the messages. Like below
^CD<request>
The Queue connection is through SSL Table channel connection.
The code i am using is
MQQueueManager queueManager = new MQQueueManager ;
int openOptions = MQC.MQOO_OUTPUT + MQC.MQOO_BIND_NOT_FIXED + MQC.MQOO_FAIL_IF_QUIESCING;
MQQueue Queue = queueManager.AccessQueue("TestQueue", openOptions);
MQMessage queueMessage = new MQMessage();
queueMessage.WriteUTF("<request>");
MQPutMessageOptions MessageOptions = new MQPutMessageOptions();
Queue.Put(queueMessage, MessageOptions);
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