Rework SenderWorker and MessageRetransmissionAdjuster to use the same 
MessageContext object
-------------------------------------------------------------------------------------------

                 Key: SANDESHA2-25
                 URL: http://issues.apache.org/jira/browse/SANDESHA2-25
             Project: Apache Sandesha2
          Issue Type: Improvement
            Reporter: Andrew Gatford
            Priority: Trivial


As a small performance improvement modifying the 
MessageTransmitter.adjustRetransmittion method to take the already initialised 
RMMsgContext object on the method call means that the same object doesn't have 
to be created twice in the SenderWorker call.  This means that the 
MessageRetransmissionAdjuster  doesn't need to get the MessageContext again as 
it already has it.

The adjustRetransmittion can also be made static to stop the new instance of 
the MessageRetransmissionAdjuster object on every send. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to