CVS update: JGroups/src/org/jgroups/blocks RequestCorrelator.java

"Bela Ban" <[email protected]> Mon, 8 Nov 2010 08:57:00 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/11/08 08:57:00

  Modified:    src/org/jgroups/blocks RequestCorrelator.java
  Log:
  protocols check if NO_RELIABILITY or NO_TOTAL_ORDER flags are set to bypass (https://jira.jboss.org/browse/JGRP-1250)
  
  Revision  Changes    Path
  1.68      +5 -1      JGroups/src/org/jgroups/blocks/RequestCorrelator.java
  
  Index: RequestCorrelator.java
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/blocks/RequestCorrelator.java,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- RequestCorrelator.java	17 Sep 2010 12:02:12 -0000	1.67
  +++ RequestCorrelator.java	8 Nov 2010 08:57:00 -0000	1.68
  @@ -1,4 +1,4 @@
  -// $Id: RequestCorrelator.java,v 1.67 2010/09/17 12:02:12 belaban Exp $
  +// $Id: RequestCorrelator.java,v 1.68 2010/11/08 08:57:00 belaban Exp $
   
   package org.jgroups.blocks;
   
  @@ -610,6 +610,10 @@
           rsp.setFlag(Message.DONT_BUNDLE);
           if(req.isFlagSet(Message.NO_FC))
               rsp.setFlag(Message.NO_FC);
  +        if(req.isFlagSet(Message.NO_RELIABILITY))
  +            rsp.setFlag(Message.NO_RELIABILITY);
  +        if(req.isFlagSet(Message.NO_TOTAL_ORDER))
  +            rsp.setFlag(Message.NO_TOTAL_ORDER);
   
           if(rsp_buf instanceof Buffer)
               rsp.setBuffer((Buffer)rsp_buf);
  
  
  

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev