Class BaseSubscriptionDeliverySubscriber
java.lang.Object
ca.uhn.fhir.jpa.subscription.match.deliver.BaseSubscriptionDeliverySubscriber
- All Implemented Interfaces:
org.springframework.messaging.MessageHandler
- Direct Known Subclasses:
SubscriptionDeliveringEmailSubscriber,SubscriptionDeliveringMessageSubscriber,SubscriptionDeliveringRestHookSubscriber
public abstract class BaseSubscriptionDeliverySubscriber
extends Object
implements org.springframework.messaging.MessageHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ca.uhn.fhir.context.FhirContextprotected SubscriptionRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.interceptor.api.IInterceptorBroadcasterabstract voidhandleMessage(ResourceDeliveryMessage theMessage)voidhandleMessage(org.springframework.messaging.Message theMessage)voidsetFhirContextForUnitTest(ca.uhn.fhir.context.FhirContext theCtx)voidsetInterceptorBroadcasterForUnitTest(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster)voidsetSubscriptionRegistryForUnitTest(SubscriptionRegistry theSubscriptionRegistry)
-
Field Details
-
myFhirContext
-
mySubscriptionRegistry
-
-
Constructor Details
-
BaseSubscriptionDeliverySubscriber
public BaseSubscriptionDeliverySubscriber()
-
-
Method Details
-
handleMessage
public void handleMessage(org.springframework.messaging.Message theMessage) throws org.springframework.messaging.MessagingException- Specified by:
handleMessagein interfaceorg.springframework.messaging.MessageHandler- Throws:
org.springframework.messaging.MessagingException
-
handleMessage
- Throws:
Exception
-
setFhirContextForUnitTest
-
setInterceptorBroadcasterForUnitTest
public void setInterceptorBroadcasterForUnitTest(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster) -
setSubscriptionRegistryForUnitTest
-
getInterceptorBroadcaster
-