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 » General IBM MQ Support » Message Segmentation

Post new topic  Reply to topic
 Message Segmentation « View previous topic :: View next topic » 
Author Message
Sulaiman khan
PostPosted: Thu Apr 26, 2012 8:07 am    Post subject: Message Segmentation Reply with quote

Novice

Joined: 07 Mar 2012
Posts: 13

Hi,

when we receive a message larger than 512k it splits into segment.

is this is possible(Through Queue Manager or Queue properties setting not through coding) to prevent message from segments.?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 26, 2012 8:32 am    Post subject: Re: Message Segmentation Reply with quote

Grand High Poobah

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

Sulaiman khan wrote:
when we receive a message larger than 512k it splits into segment.

is this is possible(Through Queue Manager or Queue properties setting not through coding) to prevent message from segments.?


The default maximum size for a single message is 4Mb. This can be increased to 100Mb for a single message.

So if you're getting segmentation at 512k it's something you've done locally in your code or your configuration to make that happen. You can prevent it by identifying & reversing it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Sulaiman khan
PostPosted: Thu Apr 26, 2012 10:24 am    Post subject: Reply with quote

Novice

Joined: 07 Mar 2012
Posts: 13

How can we change or where we can found the configuration of message size to changes the message behaviour.

and how can we prevent a message from segmentation with out changing in code.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 26, 2012 10:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Your code must have been written to specifically allow segmentation, it's not allowed 'by default'.

So if the intent of the code is to use segmentation, why do you want to defeat that intent?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 26, 2012 10:34 am    Post subject: Reply with quote

Grand High Poobah

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

Sulaiman khan wrote:
How can we change or where we can found the configuration of message size to changes the message behaviour.


Whereever you hold configuration for your code.

Sulaiman khan wrote:
and how can we prevent a message from segmentation with out changing in code.


Youi can't. As I explained above, that limit is well below anything WMQ would balk at. So either you've configured your code to segment in that way or (this is my personal suspicion) your code has a 512k buffer somewhere and is automatically cutting up the data so it fits in the buffer.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 26, 2012 12:36 pm    Post subject: Reply with quote

Grand High Poobah

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

What is the max msg size of your destination queue set at?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Message Segmentation
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.