ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Binary Format Messages

Post new topic  Reply to topic
 Binary Format Messages « View previous topic :: View next topic » 
Author Message
maja
PostPosted: Fri Jan 26, 2007 4:30 pm    Post subject: Binary Format Messages Reply with quote

Apprentice

Joined: 13 Jun 2006
Posts: 30

I am trying to write a binary format message to MQ queue.
I am able to write teh message but somehow the content does not reflect the exact message put.
The message I am putting is encrypted with Custoom API. I need to put th same over to the Queue. I have removed the MQFMT_STRING option while putting the message.

Is there any way this could be done or is there any option?

This coding I am trying to do in C# for WMQ 5.3

Thanks,
Maja.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 26, 2007 4:55 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

MQ does not care about message content.
So what you put in is what you get out, especially if you have the format defined as MQFMT_NONE.

Now the bytes put in are the bytes you'll get out of the message. The rest is your responsibility (programer).

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
maja
PostPosted: Fri Jan 26, 2007 5:07 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2006
Posts: 30

Thanks Saper...

I will try MQFMT_NONE....
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Jan 26, 2007 5:36 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
but somehow the content does not reflect the exact message put.


How do you know? What are you browsing the message with? Is it on the same box or has it been sent to another queue manager? If is has been transmitted make sure there is no conversion being done by the channel.
Back to top
View user's profile Send private message
tleichen
PostPosted: Mon Jan 29, 2007 12:08 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

kevinf2349 wrote:
Quote:
but somehow the content does not reflect the exact message put.


How do you know? What are you browsing the message with? Is it on the same box or has it been sent to another queue manager? If is has been transmitted make sure there is no conversion being done by the channel.

I concur. Surely you're not trying to browse these binary messages as strings are you?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
maja
PostPosted: Thu Feb 01, 2007 5:51 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2006
Posts: 30

I was trying to put the messages to the different queue on Same queue manager.

I did not use any other utility, went to the QUEUE and saq the message and copied the content, did a comparison with original content..it wont tally... still trying wil lupdate again....

Thanks ..

Maja.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Binary Format Messages
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.