geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject cvs commit: incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging Msg.java
Date Thu, 27 May 2004 14:29:44 GMT
gdamour     2004/05/27 07:29:44

  Modified:    sandbox/messaging/src/java/org/apache/geronimo/messaging
                        Msg.java
  Log:
  Enhances the reply method such that the source and target headers
  are populated based on the request Msg.
  
  Revision  Changes    Path
  1.2       +5 -1      incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/Msg.java
  
  Index: Msg.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/Msg.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Msg.java	11 May 2004 12:06:41 -0000	1.1
  +++ Msg.java	27 May 2004 14:29:44 -0000	1.2
  @@ -73,8 +73,12 @@
               header.getHeader(MsgHeaderConstants.CORRELATION_ID));
           newHeader.addHeader(MsgHeaderConstants.DEST_ENDPOINT,
               header.getHeader(MsgHeaderConstants.SRC_ENDPOINT));
  +        newHeader.addHeader(MsgHeaderConstants.DEST_NODE,
  +            header.getHeader(MsgHeaderConstants.SRC_NODE));
           newHeader.addHeader(MsgHeaderConstants.DEST_NODES,
               header.getHeader(MsgHeaderConstants.SRC_NODE));
  +        newHeader.addHeader(MsgHeaderConstants.SRC_NODE,
  +            header.getHeader(MsgHeaderConstants.DEST_NODES));
           newHeader.addHeader(MsgHeaderConstants.BODY_TYPE,
               MsgBody.Type.RESPONSE);
           return msg;
  
  
  

Mime
View raw message