Skip to content

Subscription Interceptor Proposal

Ken Stevens edited this page Jan 14, 2019 · 9 revisions

HAPI FHIR JPA Server 3.7 currently provides a mechanism for registering interceptors with the FHIR Server endpoint.

Informed by unit test needs and end-user needs, this document proposes a similar interceptor mechanism for subscriptions.

Here are the proposed interception points:

SubscriptionMatchingSubscriber.matchActiveSubscriptionsAndDeliver(ResourceModifiedMessage theMsg)

  1. boolean incomingResourcePreProcessed(ResourceModifiedMessage theMsg)
  2. boolean subscriptionMatchBeforeDelivery(ResourceModifiedMessage theMsg, CanonicalSubscription theSubscription)
  3. void incomingResourcePostProcessed(ResourceModifiedMessage theMsg)

S

Clone this wiki locally