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, myResourceModifiedMessagePersistenceSvc, mySubscriptionRegistry
-
Constructor Summary
ConstructorDescriptionSubscriptionDeliveringMessageSubscriber
(IChannelFactory theChannelFactory) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doDelivery
(ResourceDeliveryMessage theSourceMessage, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer, ResourceModifiedJsonMessage theWrappedMessageToSend) void
handleMessage
(ResourceDeliveryMessage theMessage) Methods inherited from class ca.uhn.fhir.jpa.subscription.match.deliver.BaseSubscriptionDeliverySubscriber
createDeliveryBundleForPayloadSearchCriteria, getInterceptorBroadcaster, handleMessage, inflateResourceModifiedMessageFromDeliveryMessage, setDaoRegistryForUnitTest, setFhirContextForUnitTest, setInterceptorBroadcasterForUnitTest, setMatchUrlServiceForUnitTest, setResourceModifiedMessagePersistenceSvcForUnitTest, setSubscriptionRegistryForUnitTest
-
Constructor Details
-
SubscriptionDeliveringMessageSubscriber
Constructor
-
-
Method Details
-
doDelivery
protected void doDelivery(ResourceDeliveryMessage theSourceMessage, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer, ResourceModifiedJsonMessage theWrappedMessageToSend) -
handleMessage
public void handleMessage(ResourceDeliveryMessage theMessage) throws org.springframework.messaging.MessagingException, URISyntaxException - Specified by:
handleMessage
in classBaseSubscriptionDeliverySubscriber
- Throws:
org.springframework.messaging.MessagingException
URISyntaxException
-