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 » message contents question

Post new topic  Reply to topic
 message contents question « View previous topic :: View next topic » 
Author Message
mar
PostPosted: Mon Oct 18, 2004 2:42 am    Post subject: message contents question Reply with quote

Apprentice

Joined: 18 Oct 2004
Posts: 26

Hi. Can anyone please tell me if the message contents format can be anything else except string? For example, in Windows, can I put a message containing an image? Thanks in advance.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Oct 18, 2004 2:51 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

If you put an image into a msg, you should probably describe it as an MQFMT_NONE, which just puts spaces in the MD.Format field.
The Format field is really only used for data conversion. If you are passing binary data you should leave the field empty.
Back to top
View user's profile Send private message
mar
PostPosted: Mon Oct 18, 2004 4:16 am    Post subject: Reply with quote

Apprentice

Joined: 18 Oct 2004
Posts: 26

Thanks Nigelg.
Do you know any resource (code, documentation ) available on this? Thanks in advance
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Oct 18, 2004 5:42 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You can get information on the MQMD Format field in the Application Programming Reference.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
mar
PostPosted: Tue Oct 19, 2004 3:13 am    Post subject: clarification Reply with quote

Apprentice

Joined: 18 Oct 2004
Posts: 26

thanks for replying me. I didn't explain clearly what I meant.
I am interested in handling messages containing scanned images. I would like to know if there is any documentation or even sample in this. Programming language is not a concern. If anyone has seen anything, please let me know. Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 19, 2004 6:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The contents of the message are irrelevant to MQSeries, except where you have told it to perform character translation.

So all of the examples, that do not use MQFMT_STRING, and all of the documentation that is not specifically about character translation are directly applicable to your situation.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mar
PostPosted: Tue Oct 19, 2004 11:32 pm    Post subject: Reply with quote

Apprentice

Joined: 18 Oct 2004
Posts: 26

Thank you all for answering my query.
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 » message contents question
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.