|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[Solved]SEGMENTATION IN JAVA . |
« View previous topic :: View next topic » |
Author |
Message
|
aninair |
Posted: Fri Jan 02, 2004 5:19 am Post subject: [Solved]SEGMENTATION IN JAVA . |
|
|
 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 |
|
 |
EddieA |
Posted: Fri Jan 02, 2004 11:09 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Fri Jan 02, 2004 2:18 pm Post subject: |
|
|
 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 |
|
 |
aninair |
Posted: Sun Jan 04, 2004 10:45 pm Post subject: SEGMENTATION IN JAVA |
|
|
 Novice
Joined: 30 Oct 2002 Posts: 10
|
Hi
Thanks.... it worked.....with MQC.MQGMO_COMPLETE_MSG
Anita _________________ anita nair |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|