
Package ca.uhn.fhir.jpa.subscription.api
Interface ISubscriptionMessageKeySvc
public interface ISubscriptionMessageKeySvc
This is used by "message" type subscriptions to provide a key to the message wrapper before submitting it to the channel
-
Method Summary
Modifier and TypeMethodDescriptiongetMessageKeyOrNull(org.hl7.fhir.instance.model.api.IBaseResource thePayloadResource) Given anIBaseResource, return a key that can be used to identify the message.
-
Method Details
-
getMessageKeyOrNull
@Nullable String getMessageKeyOrNull(org.hl7.fhir.instance.model.api.IBaseResource thePayloadResource) Given anIBaseResource, return a key that can be used to identify the message. This key will be used to partition the message into a queue.- Parameters:
thePayloadResource- the payload resource.- Returns:
- the key or null.
-