}
if(sendCloseMessage) {
- listenerRegistrationActor.tell(new
- CloseDataChangeListenerRegistration().toSerializable(), null);
+ listenerRegistrationActor.tell(CloseDataChangeListenerRegistration.INSTANCE, null);
}
}
}
if(sendCloseMessage) {
- listenerRegistrationActor.tell(new CloseDataChangeListenerRegistration().toSerializable(),
- ActorRef.noSender());
+ listenerRegistrationActor.tell(CloseDataChangeListenerRegistration.INSTANCE, ActorRef.noSender());
listenerRegistrationActor = null;
}