public class NotificationRepository extends AbstractRoutedMessageServlet implements ITKMessageConsumer
dos
Constructor and Description |
---|
NotificationRepository() |
Modifier and Type | Method and Description |
---|---|
ITKMessageConsumer |
getMessageConsumer()
Gets the message consumer.
|
void |
onMessage(ITKMessage request)
Call to process a request message where no application response is returned
synchronously.
|
ITKMessage |
onSyncMessage(ITKMessage request)
Routed messages do not support true synchronous responses.
|
doPost, init
addITKWrappers, checkProfileId, checkServiceId, sendInfrastructureAck, validateDistributionEnvelope
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void onMessage(ITKMessage request)
ITKMessageConsumer
request
originator asynchronously.onMessage
in interface ITKMessageConsumer
request
- The itk request message to process. Examples might include an
Spine Mini Services nonCodedCDADocument-v2-0
messagepublic ITKMessageConsumer getMessageConsumer()
AbstractRoutedMessageServlet
getMessageConsumer
in class AbstractRoutedMessageServlet
public ITKMessage onSyncMessage(ITKMessage request) throws ITKMessagingException
onSyncMessage
in interface ITKMessageConsumer
request
- the requestITKMessagingException
- the iTK messaging exceptionAll 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