mirror of https://github.com/apache/activemq.git
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:
parent
8f85fdc36c
commit
b484eeb595
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue