public interface ITKAckDetails
getTrackingRef()
and getIntendedRecipient()
*.getIntendedRecipient()
is not strictly
required to correlating responses, however if the API scope is expanded to support
mutli-destination messaging the intended recipient would also need to be used in the
correlationModifier and Type | Method and Description |
---|---|
ITKAddress |
getIntendedRecipient()
Provides the ITKAddress for the intended recipient of the message
being acknowledged
|
ITKMessagingException |
getNackError()
Obtains details about the error for which the Nack is being generated.
|
String |
getReportingIdentity()
Get the identity of the node that originated the InfrastructureAck
This may be different to the
getIntendedRecipient() if a
nack was generated by an intermediary node |
String |
getServiceRef()
The service identifier from the message being acknowledged
|
String |
getTrackingRef()
The tracking id reference from the message being acknowledged
|
boolean |
isNack()
Convenient method to simply establish whether the
ITKAckDetails
represents an Ack or Nack |
String getTrackingRef()
UUID
?String getServiceRef()
urn:nhs-itk:services:201005:SendCDADocument-v2-0
String getReportingIdentity()
getIntendedRecipient()
if a
nack was generated by an intermediary nodeITKAddress getIntendedRecipient()
ITKMessagingException getNackError()
null
is returned.ITKMessagingException
encapsulating the error detailsboolean isNack()
ITKAckDetails
represents an Ack or Nacktrue
if it is a Nack (i.e. getNackError()
is not null
), false
otherwiseAll content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated