Class RecallApiController
java.lang.Object
com.persequor.saga.modules.compliance.api.RecallApiController
-
Constructor Summary
ConstructorsConstructorDescriptionRecallApiController
(com.persequor.extension.eventservice.IEventRevertService revertService, IRecallService recallService, IRecallNamespaceConfig recallNamespaceConfig) -
Method Summary
Modifier and TypeMethodDescriptionrecallEvents
(RecallApiRequest request) Example body: {"sagaEventIds":["96fe2e90-80f7-11eb-96b0-5faa198f3e36"],"recallComment":"theComment","recallReasonType":"MessageContainedErroneousInformation","recallCommentAdditional":"optional addition"}
-
Constructor Details
-
RecallApiController
@Inject public RecallApiController(com.persequor.extension.eventservice.IEventRevertService revertService, IRecallService recallService, IRecallNamespaceConfig recallNamespaceConfig)
-
-
Method Details
-
recallEvents
public Map<String,String> recallEvents(RecallApiRequest request) throws com.persequor.xml.DocumentException, com.persequor.xml.serialization.SerializationException Example body: {"sagaEventIds":["96fe2e90-80f7-11eb-96b0-5faa198f3e36"],"recallComment":"theComment","recallReasonType":"MessageContainedErroneousInformation","recallCommentAdditional":"optional addition"}- Parameters:
request
- request object- Returns:
- response object
- Throws:
com.persequor.xml.DocumentException
- when generating the revert event failedcom.persequor.xml.serialization.SerializationException
- when generating the revert event failed
-