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

Reply via email to