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 Java / JMS » [Solved]SEGMENTATION IN JAVA .

Post new topic  Reply to topic
 [Solved]SEGMENTATION IN JAVA . « View previous topic :: View next topic » 
Author Message
aninair
PostPosted: Fri Jan 02, 2004 5:19 am    Post subject: [Solved]SEGMENTATION IN JAVA . Reply with quote

Novice

Joined: 30 Oct 2002
Posts: 10

Hi

I have written a code in java for putting segmented message
putmessageoptions: segmention_allowed+logical_order
accordingly i have set the MQMessage.messageflags for segmentation..

Message is getting segmented by queue manager and and is available on queue,

But, I am not getting how to retrieve this segmented message as queue manager is controlling segmentation. I am not doing segmentation thru code...
What options shd I put in getmessageoptions object...
do I need to set anything MQMessage.messageflags

AnI
_________________
anita nair
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Jan 02, 2004 11:09 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

The 'normal' option is MQGMO_COMPLETE_MSG in the GMO. So, I guess you need the Java equivalent.

BTW. Logical Order is only for GETting messages, not PUTting.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Jan 02, 2004 2:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

The in Java it would be
MQC.MQGMO_COMPLETE_MSG

Like
Code:

MQGetMessageOptions gmo = new MQGetMessageOptions() ;
gmo.options = MQC.MQGMO_COMPLETE_MSG
Back to top
View user's profile Send private message Send e-mail Visit poster's website
aninair
PostPosted: Sun Jan 04, 2004 10:45 pm    Post subject: SEGMENTATION IN JAVA Reply with quote

Novice

Joined: 30 Oct 2002
Posts: 10

Hi

Thanks.... it worked.....with MQC.MQGMO_COMPLETE_MSG


Anita
_________________
anita nair
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 Java / JMS » [Solved]SEGMENTATION IN JAVA .
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.