Class AccountInsertedSpout
java.lang.Object
overit.geocall.event.producer.JsonSpout<AccountInsertedPublishEvent,DTOAccountInsertedSpout>
overit.geocallapp.wfm.accounts.spout.account.AccountInsertedSpout
- All Implemented Interfaces:
Spout<AccountInsertedPublishEvent,DTOAccountInsertedSpout, String>
@Event(AccountInsertedPublishEvent.class)
@Component
public class AccountInsertedSpout
extends JsonSpout<AccountInsertedPublishEvent,DTOAccountInsertedSpout>
Spout for the event
AccountInsertedPublishEvent to publish a
DTOAccountInsertedSpout.- Since:
- 21.0
- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPayload(PoolKit pk, AccountInsertedPublishEvent event) Extracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
AccountInsertedSpout
public AccountInsertedSpout()
-
-
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
-