activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r550692 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory: ConsumerStartedEvent.java ProducerStartedEvent.java
Date Tue, 26 Jun 2007 05:05:31 GMT
Author: rajdavies
Date: Mon Jun 25 22:05:31 2007
New Revision: 550692

URL: http://svn.apache.org/viewvc?view=rev&rev=550692
Log:
member fields are now marked transient (as can't be serialized)

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ConsumerStartedEvent.java
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ProducerStartedEvent.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ConsumerStartedEvent.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ConsumerStartedEvent.java?view=diff&rev=550692&r1=550691&r2=550692
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ConsumerStartedEvent.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ConsumerStartedEvent.java
Mon Jun 25 22:05:31 2007
@@ -29,7 +29,7 @@
 
     private static final long serialVersionUID = 5088138839609391074L;
 
-    private final ConsumerInfo consumerInfo;
+    private transient final ConsumerInfo consumerInfo;
 
     public ConsumerStartedEvent(ConsumerEventSource source, ActiveMQDestination destination,
ConsumerInfo consumerInfo, int count) {
         super(source, destination, consumerInfo.getConsumerId(), count);

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ProducerStartedEvent.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ProducerStartedEvent.java?view=diff&rev=550692&r1=550691&r2=550692
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ProducerStartedEvent.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/ProducerStartedEvent.java
Mon Jun 25 22:05:31 2007
@@ -29,7 +29,7 @@
 
     private static final long serialVersionUID = 5088138839609391074L;
 
-    private final ProducerInfo consumerInfo;
+    private transient final ProducerInfo consumerInfo;
 
     public ProducerStartedEvent(ProducerEventSource source, ActiveMQDestination destination,
ProducerInfo consumerInfo, int count) {
         super(source, destination, consumerInfo.getProducerId(), count);



Mime
View raw message