|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMQ 7.x JMS - distinguish grouping and segmentation |
« View previous topic :: View next topic » |
Author |
Message
|
mathilda |
Posted: Thu Jun 17, 2010 11:40 am Post subject: WMQ 7.x JMS - distinguish grouping and segmentation |
|
|
 Novice
Joined: 16 May 2007 Posts: 16 Location: Sofia, Bulgaria
|
Hi, i try to receive messages from WMQ 7.0.1 with simple JMS code.
But i have problem with grouping messages and segmented messages.
When have groupID property and sequence number, how i should process this message - as single message of group or segment from group?
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? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 17, 2010 1:10 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Segmentation is not supported by JMS.
As for grouping, I believe you may have to have the app reassemble the group.
This is what you have a selector for...
Have you looked at this article
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mathilda |
Posted: Thu Jun 17, 2010 10:23 pm Post subject: |
|
|
 Novice
Joined: 16 May 2007 Posts: 16 Location: Sofia, Bulgaria
|
Ok, you're right - i use grouping to realize segmentation on application level.
I just split payload of message and send every segment as part of one group with sequence number.
This work for me, but this is grouping.
And when received grouping messages, i don't know what process:
as single messages or concatenate bytes in one payload.
Only difference is message type, but in grouping i can have byte message - tis is not solve the problem.
Other thing is Offset property, but when i send ( without set this property) , property always is 0.
I think this is normal, because i really send single message , i just simulate segmentation.
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? |
|
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
|
|
|
|