axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjiva Weerawarana <>
Subject [axis2] MessageContext IDs
Date Thu, 15 Dec 2005 06:53:07 GMT
Is there any reason why we can't make it so that every message context
has an id when its created? I'm fine with having getId() and setId() so
that the default ID can be changed but it seems to me that we never use
a message context without setting the ID. This avoids repeated code
fragments like:

if (msgctx.getMessageID() == null) {  
  String messageID = String.valueOf("uuid:" + UUIDGenerator.getUUID());


View raw message