public class SimpleMessageCallbackHandler extends AbstractCallbackListenerServlet implements ITKCallbackHandler
|Constructor and Description|
|Modifier and Type||Method and Description|
Gets the callback handler.
Method invoked by the transport and distribution layer upon receipt of a positive infrastructure acknowledgement (Ack).
Application components are not required to provide any functionality that is triggered by this acknowledgement however it is anticipated that this could be used to implement "delivery receipt" functionality.
Allows the transport and distribution infrastructure to pass back an asynchronous response received in response to an asynchronous request.
The response message may be a generic ITK Business Acknowledgement (for instance as a result of a
Note: It is the responsibility of the application to maintain state and do the necessary correlation of this message against the original request to complete the transaction.
Method invoked by the transport and distribution layer upon receipt of a negative infrastructure acknowledgement (Nack).
Application components are not required to provide any functionality that is triggered by this acknowledgement however it is anticipated that this could be used to implement "delivery failure" functionality.
addITKWrappers, checkProfileId, checkServiceId, sendInfrastructureAck, validateDistributionEnvelope
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void onMessage(ITKMessage request)
sendCDAinvocation) or a specific business response associated with the request message.
public void onAck(ITKAckDetails ack)
public void onNack(ITKAckDetails nack)
nack- The (negative) acknowledgement. This can be correlated back to the request via the
ITKAckDetails.getTrackingRef()method. Note correlation is an application layer responsibility. Details of the error associated with the "delivery failure" can be retrieved via the
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