
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
Fields Modifier and Type Field Description protected ca.uhn.fhir.context.FhirContext
myFhirContext
protected SubscriptionRegistry
mySubscriptionRegistry
-
Constructor Summary
Constructors Constructor Description BaseSubscriptionDeliverySubscriber()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster
getInterceptorBroadcaster()
abstract void
handleMessage(ResourceDeliveryMessage theMessage)
void
handleMessage(org.springframework.messaging.Message theMessage)
void
setFhirContextForUnitTest(ca.uhn.fhir.context.FhirContext theCtx)
void
setInterceptorBroadcasterForUnitTest(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster)
void
setSubscriptionRegistryForUnitTest(SubscriptionRegistry theSubscriptionRegistry)
-
-
-
Field Detail
-
myFhirContext
@Autowired protected ca.uhn.fhir.context.FhirContext myFhirContext
-
mySubscriptionRegistry
@Autowired protected SubscriptionRegistry mySubscriptionRegistry
-
-
Constructor Detail
-
BaseSubscriptionDeliverySubscriber
public BaseSubscriptionDeliverySubscriber()
-
-
Method Detail
-
handleMessage
public void handleMessage(org.springframework.messaging.Message theMessage) throws org.springframework.messaging.MessagingException
- Specified by:
handleMessage
in interfaceorg.springframework.messaging.MessageHandler
- Throws:
org.springframework.messaging.MessagingException
-
handleMessage
public abstract void handleMessage(ResourceDeliveryMessage theMessage) throws Exception
- Throws:
Exception
-
setFhirContextForUnitTest
public void setFhirContextForUnitTest(ca.uhn.fhir.context.FhirContext theCtx)
-
setInterceptorBroadcasterForUnitTest
public void setInterceptorBroadcasterForUnitTest(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster)
-
setSubscriptionRegistryForUnitTest
public void setSubscriptionRegistryForUnitTest(SubscriptionRegistry theSubscriptionRegistry)
-
getInterceptorBroadcaster
public ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster getInterceptorBroadcaster()
-
-