fixes a regression caused my change in hapi-fhir
This commit is contained in:
parent
1da5e02b92
commit
4b58013149
|
@ -69,6 +69,8 @@ public class SubscriptionDeliveringMessageSubscriber extends BaseSubscriptionDel
|
||||||
|
|
||||||
if (payloadResource != null) {
|
if (payloadResource != null) {
|
||||||
ResourceModifiedJsonMessage newWrappedMessageToSend = convertDeliveryMessageToResourceModifiedMessage(theSourceMessage, payloadResource);
|
ResourceModifiedJsonMessage newWrappedMessageToSend = convertDeliveryMessageToResourceModifiedMessage(theSourceMessage, payloadResource);
|
||||||
|
// preserve the message key that was set by the interceptor
|
||||||
|
newWrappedMessageToSend.getPayload().setMessageKey(theWrappedMessageToSend.getMessageKeyOrNull());
|
||||||
theWrappedMessageToSend.setPayload(newWrappedMessageToSend.getPayload());
|
theWrappedMessageToSend.setPayload(newWrappedMessageToSend.getPayload());
|
||||||
payloadId = payloadResource.getIdElement().toUnqualifiedVersionless().getValue();
|
payloadId = payloadResource.getIdElement().toUnqualifiedVersionless().getValue();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue