logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwom...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/log4j/net JMSAppender.java
Date Wed, 03 Aug 2005 05:02:35 GMT
mwomack     2005/08/02 22:02:35

  Modified:    docs     Tag: v1_2-branch HISTORY.txt
               src/java/org/apache/log4j/net Tag: v1_2-branch
                        JMSAppender.java
  Log:
  Fix for bug #35965.  Added protected accessors for JMS related member variables.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.27.2.14 +8 -1      logging-log4j/docs/HISTORY.txt
  
  Index: HISTORY.txt
  ===================================================================
  RCS file: /home/cvs/logging-log4j/docs/HISTORY.txt,v
  retrieving revision 1.27.2.13
  retrieving revision 1.27.2.14
  diff -u -r1.27.2.13 -r1.27.2.14
  --- HISTORY.txt	2 Aug 2005 03:56:14 -0000	1.27.2.13
  +++ HISTORY.txt	3 Aug 2005 05:02:34 -0000	1.27.2.14
  @@ -5,9 +5,16 @@
          client code. 
    [***] Changes requiring important modifications to existing client code.
    
  + ???, 2005
  + 
  + - Release of version 1.2.12rc3
  + 
  + - Fixed bug 35965 by adding protected accessors for member variables
  +   topicConnection, topicSession, and topicPublisher. [*]
  +   
    August 1st, 2005
    
  - - Release of versions 1.2.12rc2
  + - Release of version 1.2.12rc2
    
    - Fixed bug 34026, SyslogAppender now checks Layout.ignoresThrowable() just
      like every other appender. [*]
  
  
  
  No                   revision
  No                   revision
  1.13.2.5  +24 -1     logging-log4j/src/java/org/apache/log4j/net/JMSAppender.java
  
  Index: JMSAppender.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/net/JMSAppender.java,v
  retrieving revision 1.13.2.4
  retrieving revision 1.13.2.5
  diff -u -r1.13.2.4 -r1.13.2.5
  --- JMSAppender.java	24 May 2005 05:06:20 -0000	1.13.2.4
  +++ JMSAppender.java	3 Aug 2005 05:02:34 -0000	1.13.2.5
  @@ -397,11 +397,34 @@
       this.locationInfo = locationInfo;
     }
   
  +  /**
  +   * Returns the TopicConnection used for this appender.  Only valid after
  +   * activateOptions() method has been invoked.
  +   */
  +  protected TopicConnection  getTopicConnection() {
  +    return topicConnection;
  +  }
  +
  +  /**
  +   * Returns the TopicSession used for this appender.  Only valid after
  +   * activateOptions() method has been invoked.
  +   */
  +  protected TopicSession  getTopicSession() {
  +    return topicSession;
  +  }
   
  +  /**
  +   * Returns the TopicPublisher used for this appender.  Only valid after
  +   * activateOptions() method has been invoked.
  +   */
  +  protected TopicPublisher  getTopicPublisher() {
  +    return topicPublisher;
  +  }
  +  
     /** 
      * The JMSAppender sends serialized events and consequently does not
      * require a layout.
  -   * */
  +   */
     public boolean requiresLayout() {
       return false;
     }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message