Class AccountUpdatedSpout
java.lang.Object
overit.geocall.event.producer.JsonSpout<AccountUpdatedPublishEvent,DTOAccountUpdatedSpout>
overit.geocallapp.wfm.accounts.spout.account.AccountUpdatedSpout
- All Implemented Interfaces:
Spout<AccountUpdatedPublishEvent,DTOAccountUpdatedSpout, String>
@Event(AccountUpdatedPublishEvent.class)
@Component
public class AccountUpdatedSpout
extends JsonSpout<AccountUpdatedPublishEvent,DTOAccountUpdatedSpout>
Spout for the event
AccountUpdatedPublishEvent to publish a
DTOAccountUpdatedSpout.- Since:
- 21.0
- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPayload(PoolKit pk, AccountUpdatedPublishEvent event) Extracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
AccountUpdatedSpout
public AccountUpdatedSpout()
-
-
Method Details
-
getPayload
Description copied from interface:SpoutExtracts the payload from the given event using the provided PoolKit.- Parameters:
pk- the PoolKit instance used for database operationsevent- the event from which to extract the payload- Returns:
- the extracted payload of type P
-