You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Philipp Reinecke <pr...@informatik.hu-berlin.de> on 2005/03/29 18:37:52 UTC

Possibly stupid question regarding msgNumber in Sandesha

Hello,

I noticed that Sandesha internally uses variables of type `long'
to store the RM message number. According to the JDK API Docu-
mentation these have maximum value of 2^63-1. The WSRM, however,
specifies that message numbers can be in the range from 1 up to
2^64-1, which is quite a bit larger than 2^63-1. Does Sandesha
magically handle the (hypothetical) case of more than 2^63-1
messages in one sequence by utilizing the negative portion of
the long number space, or is this a bug? Judging from the way
MessageNumber.toSOAPEnvelope() works, I lean towards the latter,
since the internal message number is exported without checking
whether it is negative.

Regards,

Philipp Reinecke