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 » WebSphere Message Broker (ACE) Support » String messages in MQSI

Post new topic  Reply to topic
 String messages in MQSI « View previous topic :: View next topic » 
Author Message
Andrey
PostPosted: Wed Sep 05, 2001 5:43 am    Post subject: Reply with quote

Apprentice

Joined: 02 Sep 2001
Posts: 37
Location: Belarus, Minsk

Does anybody know, how MQSI can receive the messgae which consist of a string? I would like to manipulate with usial string without of using any other parsers (XML, BLOB, etc). What kind of parsers should i use to put/get such message in/out queue?
Back to top
View user's profile Send private message Send e-mail
CodeCraft
PostPosted: Thu Sep 06, 2001 7:51 am    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

You *must* use some sort of parser. What you need in this case is:

MRM_MESSAGE_SET
MRM_MESSAGE [STRING_TYPE]
STRING_TYPE
MY_STRING [STRING]
MY_STRING_LEN [LENGTH]

With the CWF properties for the string set, assumably to Null terminated (or whatever you need).
Back to top
View user's profile Send private message
Andrey
PostPosted: Thu Sep 06, 2001 8:04 am    Post subject: Reply with quote

Apprentice

Joined: 02 Sep 2001
Posts: 37
Location: Belarus, Minsk

Quote:

On 2001-09-06 08:51, CodeCraft wrote:
You *must* use some sort of parser. What you need in this case is:

MRM_MESSAGE_SET
MRM_MESSAGE [STRING_TYPE]
STRING_TYPE
MY_STRING [STRING]
MY_STRING_LEN [LENGTH]

With the CWF properties for the string set, assumably to Null terminated (or whatever you need).

I'm sorry, but i misunderstood you. Could you describe it more detailed? Thanks.
Back to top
View user's profile Send private message Send e-mail
CodeCraft
PostPosted: Thu Sep 06, 2001 11:12 am    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

Create an MRM message containing a message with a single string element, and use this message type to parse your incoming message.
Back to top
View user's profile Send private message
MVO
PostPosted: Mon Sep 10, 2001 7:35 am    Post subject: Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

MRM limitation is that you must know the message length. If you have messages of variable length, what do you do ?
Back to top
View user's profile Send private message
Tibor
PostPosted: Mon Sep 10, 2001 7:56 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Look into another topic (MQSI MRM lngth Problem). There is a sample by kolban (Neil Kolban) how can you convert a message to a fixed length from a BLOB.

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 » WebSphere Message Broker (ACE) Support » String messages in MQSI
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.