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 » WMQ 7.x JMS - distinguish grouping and segmentation

Post new topic  Reply to topic
 WMQ 7.x JMS - distinguish grouping and segmentation « View previous topic :: View next topic » 
Author Message
mathilda
PostPosted: Thu Jun 17, 2010 11:40 am    Post subject: WMQ 7.x JMS - distinguish grouping and segmentation Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 17, 2010 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mathilda
PostPosted: Thu Jun 17, 2010 10:23 pm    Post subject: Reply with quote

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
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 » WMQ 7.x JMS - distinguish grouping and segmentation
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.