Posted: Tue Jun 21, 2011 2:15 am Post subject: Receive COA and COD segmented reports
Novice
Joined: 16 May 2007 Posts: 16 Location: Sofia, Bulgaria
Hi,
i use JAVA MQ API and send message with application segmentation ( i segment and fill offset, sequenceId) and with Report options for COD and COA.
Everything is fine - i have in my reply queue 3 message for COA and3 for COD report ( message is segmented to 3 parts).
The problem is that message for COA and COD have same sequenceId ( 1 for example) and sma e groupId - it is normal, but when i trying to get these message with GetMessageOptions - MQGMO_ALL_MSGS_AVAILABLE and MQGMO_ALL_SEGMENTS_AVAILABLE - get doesn't get anything.
I think that is normal, because segmentated message are duplicated by sequence ID & groupId and this is invalid.
Only difference is in feedback code ( COA or COD).
Any suggestion to resolve this problem?
PP: The easiest way is to remove MQGMO_ALL_MSGS_AVAILABLE and MQGMO_ALL_SEGMENTS_AVAILABLE.
Regards _________________ On any given Sunday you're gonna win or you're gonna lose. The point is
- can you win or lose like a man?
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