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