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 Discussion » Message segmentation issue for Java code.

Post new topic  Reply to topic
 Message segmentation issue for Java code. « View previous topic :: View next topic » 
Author Message
velocity
PostPosted: Thu Dec 03, 2009 6:09 am    Post subject: Message segmentation issue for Java code. Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Hi Guys,

One of our developers is using segmentation to breakdown large msgs and the segmentation is only working on the sending end and the messages are not getting unsegmented at the receiving end. Here is his code. Please advice..

11:11:58.119 12/01/2009 Starting queue manager qmname
11:11:58.416 12/01/2009 Attempting to process message #1
11:11:58.416 12/01/2009 SIMI Hotfile Download Started
11:11:58.447 12/01/2009 Download qmname/<queue name> to G:
11:11:58.447 12/01/2009 Getting Message from qmname/queue name
** 11:11:58.463 12/01/2009 Message DataLength:28
11:11:58.463 12/01/2009 gmo.groupStatus = G and MQC.MQGS_LAST_MSG_IN_GROUP = L
** 11:11:58.463 12/01/2009 Message DataLength:28
11:11:58.463 12/01/2009 gmo.groupStatus = G and MQC.M

groupStatus*
public char groupStatus
This is an output field that indicates whether the retrieved message is in a group, and if it is, whether it is the last in the group. Possible values are:
MQC.MQGS_LAST_MSG_IN_GROUP
Message is the last in the group. This is also the value returned if the group consists of only one message.
MQC.MQGS_MSG_IN_GROUP
Message is in a group, but is not the last in the group.
MQC.MQGS_NOT_IN_GROUP
Message is not in a group.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 03, 2009 6:35 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Display the message(s) as they exist in the queue. Are the segmentation fields in the MQMD set correctly?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » General Discussion » Message segmentation issue for Java code.
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.