member fields are now marked transient (as can't be serialized)

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550692 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-06-26 05:05:31 +00:00
parent 8f85fdc36c
commit b484eeb595
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class ConsumerStartedEvent extends ConsumerEvent {
private static final long serialVersionUID = 5088138839609391074L; 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) { public ConsumerStartedEvent(ConsumerEventSource source, ActiveMQDestination destination, ConsumerInfo consumerInfo, int count) {
super(source, destination, consumerInfo.getConsumerId(), count); super(source, destination, consumerInfo.getConsumerId(), count);

View File

@ -29,7 +29,7 @@ public class ProducerStartedEvent extends ProducerEvent {
private static final long serialVersionUID = 5088138839609391074L; 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) { public ProducerStartedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerInfo consumerInfo, int count) {
super(source, destination, consumerInfo.getProducerId(), count); super(source, destination, consumerInfo.getProducerId(), count);