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 Type
    Method
    Description
    getMessageKeyOrNull(org.hl7.fhir.instance.model.api.IBaseResource thePayloadResource)
    Given an IBaseResource, 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 an IBaseResource, 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.