Package ca.uhn.fhir.subscription.api
Interface IResourceModifiedConsumerWithRetries
public interface IResourceModifiedConsumerWithRetries
The implementer of this interface participates in the retry upon failure mechanism for messages submitted
to the subscription processing pipeline.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
submitPersisedResourceModifiedMessage
(IPersistedResourceModifiedMessage thePersistedResourceModifiedMessage) The implementer of this method should submit the ResourceModifiedMessage represented the IPersistedResourceModifiedMessage to a broker (seeIResourceModifiedConsumer
) and if submission succeeds, delete the IPersistedResourceModifiedMessage.
-
Method Details
-
submitPersisedResourceModifiedMessage
boolean submitPersisedResourceModifiedMessage(IPersistedResourceModifiedMessage thePersistedResourceModifiedMessage) The implementer of this method should submit the ResourceModifiedMessage represented the IPersistedResourceModifiedMessage to a broker (seeIResourceModifiedConsumer
) and if submission succeeds, delete the IPersistedResourceModifiedMessage.- Parameters:
thePersistedResourceModifiedMessage
- A IPersistedResourceModifiedMessage requiring submission.- Returns:
- Whether the message was successfully submitted to the broker.
-