Update todos
This commit is contained in:
parent
3e324355f2
commit
9a09a8abf3
|
@ -59,7 +59,6 @@ public class EmpiMessageHandler implements MessageHandler {
|
||||||
public void handleMessage(Message<?> theMessage) throws MessagingException {
|
public void handleMessage(Message<?> theMessage) throws MessagingException {
|
||||||
ourLog.info("Handling resource modified message: {}", theMessage);
|
ourLog.info("Handling resource modified message: {}", theMessage);
|
||||||
|
|
||||||
//TODO GGG TEST THAT THE MESSAGE HEADERS COME IN HERE
|
|
||||||
if (!(theMessage instanceof ResourceModifiedJsonMessage)) {
|
if (!(theMessage instanceof ResourceModifiedJsonMessage)) {
|
||||||
ourLog.warn("Unexpected message payload type: {}", theMessage);
|
ourLog.warn("Unexpected message payload type: {}", theMessage);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -63,7 +63,7 @@ public class SubscriptionDeliveringMessageSubscriber extends BaseSubscriptionDel
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void doDelivery(ResourceDeliveryMessage theMsg, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer, IBaseResource thePayloadResource) {
|
protected void doDelivery(ResourceDeliveryMessage theMsg, CanonicalSubscription theSubscription, IChannelProducer theChannelProducer, IBaseResource thePayloadResource) {
|
||||||
//TODO GGG is this the point at which we can use a BaseResourceModifiedMessage, since technically we no longer have need of a subscriptionId?
|
//TODO GGG/KHS Question: is this the point at which we can use a BaseResourceModifiedMessage, since technically we no longer have need of a subscriptionId?
|
||||||
ResourceModifiedMessage payload = new ResourceModifiedMessage(myFhirContext, thePayloadResource, theMsg.getOperationType());
|
ResourceModifiedMessage payload = new ResourceModifiedMessage(myFhirContext, thePayloadResource, theMsg.getOperationType());
|
||||||
payload.setParentTransactionGuid(theMsg.getParentTransactionGuid());
|
payload.setParentTransactionGuid(theMsg.getParentTransactionGuid());
|
||||||
ResourceModifiedJsonMessage message = new ResourceModifiedJsonMessage(payload);
|
ResourceModifiedJsonMessage message = new ResourceModifiedJsonMessage(payload);
|
||||||
|
|
|
@ -31,7 +31,6 @@ public abstract class BaseJsonMessage<T> implements Message<T>, IModelJson {
|
||||||
@JsonProperty("headers")
|
@JsonProperty("headers")
|
||||||
private HapiMessageHeaders myHeaders;
|
private HapiMessageHeaders myHeaders;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue