Class SubscriptionRegisteringSubscriber

java.lang.Object
ca.uhn.fhir.jpa.subscription.match.matcher.subscriber.BaseSubscriberForSubscriptionResources
ca.uhn.fhir.jpa.subscription.match.matcher.subscriber.SubscriptionRegisteringSubscriber
All Implemented Interfaces:
org.springframework.messaging.MessageHandler

public class SubscriptionRegisteringSubscriber extends BaseSubscriberForSubscriptionResources implements org.springframework.messaging.MessageHandler
Responsible for transitioning subscription resources from REQUESTED to ACTIVE Once activated, the subscription is added to the SubscriptionRegistry.

Also validates criteria. If invalid, rejects the subscription without persisting the subscription.

  • Constructor Details

  • Method Details

    • handleMessage

      public void handleMessage(@Nonnull org.springframework.messaging.Message<?> theMessage) throws org.springframework.messaging.MessagingException
      Specified by:
      handleMessage in interface org.springframework.messaging.MessageHandler
      Throws:
      org.springframework.messaging.MessagingException