public abstract class AbstractServiceEvent extends Object implements EventSubscriber
EventData,
EventSubscriber,
IntegrationEventSubscriber| Constructor and Description |
|---|
AbstractServiceEvent(String serviceId,
String operationId,
String version)
Create the subscriber using the required service details.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOperationId()
Gets the operation id.
|
String |
getServiceId()
Gets the service id.
|
String |
getVersion()
Gets the version.
|
void |
onEvent(EventData eventData)
Receives notification when any event of subscribed name or topic is
triggered.
|
public AbstractServiceEvent(String serviceId, String operationId, String version)
serviceId - The service id of the service.operationId - The operation id of the service.version - The version of the service.public void onEvent(EventData eventData)
EventSubscriberonEvent in interface EventSubscribereventData - The event data.public String getServiceId()
public String getOperationId()
public String getVersion()
Copyright © 2019. All rights reserved.