You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Ben Stover <bx...@yahoo.co.uk> on 2012/03/26 18:24:33 UTC
What are the official default JMSheader fields? "Group" and "Sequence" ?
As far as I knowthere are at least the following JMSheader fields:
JMSCorrelation ID String
JMSDelivery Mode int (1-Non-Persistent, 2-Persistent)
JMSDestination javax.jms.Destination
JMSExpiration long
JMSMessageID String
JMSPriority int
JMSRedelivered boolean
JMSReplyTo javax.jms.Destination
JMSTimestamp long
JMSType String
However when I open browser console for ActievMQ and browse a single JMS message then ActiveMQ lists
two more fields:
Group
and
Sequence
Are they as well default JMSheader fields (according to JMS specification)?
What data type do they have?
Ben
Re: What are the official default JMSheader fields? "Group" and
"Sequence" ?
Posted by Zagan <er...@gmail.com>.
thanks for sharing your answear!
--
View this message in context: http://activemq.2283324.n4.nabble.com/What-are-the-official-default-JMSheader-fields-Group-and-Sequence-tp4506332p4511858.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: What are the official default JMSheader fields? "Group" and
"Sequence" ?
Posted by mickhayes <mi...@gmail.com>.
Group and Sequence are not header fields in the standard.
If you have a look at the Standard,
http://download.oracle.com/otndocs/jcp/7195-jms-1.1-fr-spec-oth-JSpec/ , you
can see the header fields described in Section 3.4.
The ten JMS 1.1 standard headers are as you listed, no more and no less.
Section 3.5 describes Message Properties, and 3.5.9 JMS Defined Properties.
You can find Group and Sequence standardised here:
"JMSXGroupID and JMSXGroupSeq are standard properties clients should use if
they want to group messages. All providers must support them"
>From Table 3.3:
JMSXGroupID *String, *Client: The identity of the message group
this message is part of
JMSXGroupSeq *int, *Client: The sequence number of this
message within the group; the first
message is 1, the second 2,...
-----
Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA
--
View this message in context: http://activemq.2283324.n4.nabble.com/What-are-the-official-default-JMSheader-fields-Group-and-Sequence-tp4506332p4508300.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.