public class SentApplicationEvent
extends org.springframework.context.ApplicationEvent
RemoteApplicationEvent, so it isn't sent over the bus, instead it is
generated locally (possibly in response to a remote event). Applications that want to
audit remote events can listen for this one and the AckRemoteApplicationEvent
from all the consumers (the id of this event is the
ackId of the corresponding ACK.source| Modifier | Constructor and Description |
|---|---|
protected |
SentApplicationEvent() |
|
SentApplicationEvent(Object source,
String originService,
String destinationService,
String id,
Class<? extends RemoteApplicationEvent> type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDestinationService() |
String |
getId() |
String |
getOriginService() |
Class<? extends RemoteApplicationEvent> |
getType() |
int |
hashCode() |
void |
setType(Class<? extends RemoteApplicationEvent> type) |
getSource, toStringpublic Class<? extends RemoteApplicationEvent> getType()
public void setType(Class<? extends RemoteApplicationEvent> type)
public String getOriginService()
public String getDestinationService()
public String getId()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.