
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleMessage
(org.springframework.messaging.Message<?> theMessage) Methods inherited from class ca.uhn.fhir.jpa.subscription.match.matcher.subscriber.BaseSubscriberForSubscriptionResources
isSubscription
-
Constructor Details
-
SubscriptionRegisteringSubscriber
public SubscriptionRegisteringSubscriber()Constructor
-
-
Method Details
-
handleMessage
public void handleMessage(@Nonnull org.springframework.messaging.Message<?> theMessage) throws org.springframework.messaging.MessagingException - Specified by:
handleMessage
in interfaceorg.springframework.messaging.MessageHandler
- Throws:
org.springframework.messaging.MessagingException
-