Package | Description |
---|---|
uk.nhs.interoperability.infrastructure |
Base / infrastructure classes necessary to support ITK Transport and distribution.
|
Modifier and Type | Method and Description |
---|---|
ITKTransportProperties |
ITKMessageProperties.getInboundTransportProperties()
Obtains the
ITKTransportProperties that are associated with the
ITKMessage that was received by the service provider on the inbound
leg in an asynchronous request/response invocation.The inboundITKTransportProperties are not expected to
be processed by the application layer, however where present
the application layer is responsible for attaching the
inboundITKTransportProperties to any responses generated
such that these transport properties are available to the transport layers
transmitting the response.A typical use of this mechanism is for the propagation of the <wsa:replyTo/> address such that it is available to the
to the transport layers managing the "reply".Note although this pattern adds some additional burden on the application layer it offers significant advantages over the alternative where the transport layer has to maintain state and correlate messages - potentially over several distributed nodes |
ITKTransportProperties |
ITKMessagingException.getRelatedItkTransportProperties() |
Modifier and Type | Method and Description |
---|---|
void |
ITKMessageProperties.setInboundTransportProperties(ITKTransportProperties inboundITKTransportProperties)
Sets the
ITKTransportProperties that are associated with the
ITKMessage that was received by the service provider on the inbound
leg in an asynchronous request/response invocation.The inboundITKTransportProperties are not expected to
be processed by the application layer, however where present
the application layer is responsible for attaching the
inboundITKTransportProperties to any responses generated
such that these transport properties are available to the transport layers
transmitting the response.A typical use of this mechanism is for the propagation of the <wsa:replyTo/> URL such that it is available to the
to the transport layers managing the "reply".Note although this pattern adds some additional burden on the application layer it offers significant advantages over the alternative where the transport layer has to maintain state and correlate messages - potentially over several distributed nodes |
void |
ITKMessagingException.setRelatedItkTransportProperties(ITKTransportProperties relatedItkTransportProperties) |
Constructor and Description |
---|
ITKMessagingException(ITKTransportProperties itkTransportProperties,
ITKMessageProperties itkMessageProperties,
int errorCode,
String message) |
ITKMessagingException(ITKTransportProperties itkTransportProperties,
ITKMessageProperties itkMessageProperties,
int errorCode,
String message,
Throwable cause) |
All 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