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 Installation/Configuration Support » Splitted Messages....How to merge parts of a message

Post new topic  Reply to topic
 Splitted Messages....How to merge parts of a message « View previous topic :: View next topic » 
Author Message
gr3ymatt3r
PostPosted: Tue Nov 13, 2007 4:54 am    Post subject: Splitted Messages....How to merge parts of a message Reply with quote

Novice

Joined: 25 Aug 2007
Posts: 11

I am using CPP classes Websphere MQ Client
Running on Windows XP

The Websphere Server is Running on Windows 2003 server
with the Queue having MaxMessageLength = 100

So whenever i send a message to the queue, it gets splitted into messages of size 100.

And while receiving such messages I am getting Chunks of size 100 of a single Message......then How can I Know which parts belong to the actual SINGLE message.....

Thanks...
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 13, 2007 4:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

That's a very small max message length....

Look up the grouping and sequencing options in the APG.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Nov 13, 2007 5:30 am    Post subject: Reply with quote

Jedi Knight

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

I would have suggested looking into how to set the MAXMSGL on a queue.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Vitor
PostPosted: Tue Nov 13, 2007 5:32 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bower5932 wrote:
I would have suggested looking into how to set the MAXMSGL on a queue.


Given the discrepancy between that value and the default, I would assume someone on site knows how to change it!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gr3ymatt3r
PostPosted: Fri Nov 30, 2007 5:06 am    Post subject: Re: Splitted Messages....How to merge parts of a message Reply with quote

Novice

Joined: 25 Aug 2007
Posts: 11

gr3ymatt3r wrote:
I am using CPP classes Websphere MQ Client
Running on Windows XP

The Websphere Server is Running on Windows 2003 server
with the Queue having MaxMessageLength = 100

So whenever i send a message to the queue, it gets splitted into messages of size 100.

And while receiving such messages I am getting Chunks of size 100 of a single Message......then How can I Know which parts belong to the actual SINGLE message.....

MORE INFO>>>
While receiving those messages I am getting the MQMD.MsgType as MQMT_DATAGRAM. I am cheching for MQMT_APPL_FIRST and MQMT_APPL_LAST but not getting these values.

Do I need to do some setting on the server for getting the "segmented messages"


Thanks...
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 30, 2007 5:22 am    Post subject: Re: Splitted Messages....How to merge parts of a message Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

gr3ymatt3r wrote:
MORE INFO>>>
While receiving those messages I am getting the MQMD.MsgType as MQMT_DATAGRAM. I am cheching for MQMT_APPL_FIRST and MQMT_APPL_LAST but not getting these values.

Do I need to do some setting on the server for getting the "segmented messages"


No.

And what has message type to do with segmentation? Why (when these are clearly being sent as datagrams) would you get any application defined values? Which would not (or should not) be either of those 2 actual values which are intended to describe the range?

You either need to change max length as we suggested, or re-read the material on grouping & segmentation. As I suggested.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Installation/Configuration Support » Splitted Messages....How to merge parts of a message
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.