Guidewire development Scenario1: Policy Update Notification to an External System
Policy Update Notification to an External System
You need to send a real-time notification to an external system whenever a policy is updated in PolicyCenter. How would you design and implement this integration?
Event Trigger:
Use a DataChangeEvent in the PolicyPeriod entity to detect updates.
Message Configuration:
Configure a message destination in messaging-config.xml.
Message Entity:
Create a message entity to hold policy details.
Transformation:
Map the PolicyPeriod fields to the external system’s data format.
Delivery:
Use MessagingTools.sendMessage() to send the message asynchronously.
Error Handling:
Configure retries and a dead-letter queue for failed messages.
Testing:
Test with mock external systems to validate message structure and delivery.
Comments
Post a Comment