Class SubscriptionDeliveringMessageSubscriber
java.lang.Object
ca.uhn.fhir.jpa.subscription.match.deliver.BaseSubscriptionDeliverySubscriber
ca.uhn.fhir.jpa.subscription.match.deliver.message.SubscriptionDeliveringMessageSubscriber
- All Implemented Interfaces:
org.springframework.messaging.MessageHandler
@Scope("prototype")
public class SubscriptionDeliveringMessageSubscriber
extends BaseSubscriptionDeliverySubscriber
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.subscription.match.deliver.BaseSubscriptionDeliverySubscriber
myFhirContext, mySubscriptionRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeliverPayload(ResourceDeliveryMessage theMsg, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer)protected voiddoDelivery(ResourceDeliveryMessage theMsg, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer, org.hl7.fhir.instance.model.api.IBaseResource thePayloadResource)voidhandleMessage(ResourceDeliveryMessage theMessage)Methods inherited from class ca.uhn.fhir.jpa.subscription.match.deliver.BaseSubscriptionDeliverySubscriber
getInterceptorBroadcaster, handleMessage, setFhirContextForUnitTest, setInterceptorBroadcasterForUnitTest, setSubscriptionRegistryForUnitTest
-
Constructor Details
-
SubscriptionDeliveringMessageSubscriber
Constructor
-
-
Method Details
-
deliverPayload
protected void deliverPayload(ResourceDeliveryMessage theMsg, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer) -
doDelivery
protected void doDelivery(ResourceDeliveryMessage theMsg, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer, org.hl7.fhir.instance.model.api.IBaseResource thePayloadResource) -
handleMessage
public void handleMessage(ResourceDeliveryMessage theMessage) throws org.springframework.messaging.MessagingException, URISyntaxException- Specified by:
handleMessagein classBaseSubscriptionDeliverySubscriber- Throws:
org.springframework.messaging.MessagingExceptionURISyntaxException
-