Package eu.domibus.connector.client
Interface DomibusConnectorClientMessageHandler
-
public interface DomibusConnectorClientMessageHandler
Interface to prepare a messages' business content XML before submitting/delivering it.- Author:
- riederb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
prepareInboundMessage(DomibusConnectorMessageType message)
Method to prepare a messages' business content XML to be delivered to the backend.void
prepareOutboundMessage(DomibusConnectorMessageType message)
Method to prepare a messages' business content XML to be submitted to the domibusConnector.
-
-
-
Method Detail
-
prepareInboundMessage
void prepareInboundMessage(DomibusConnectorMessageType message) throws DCCMessageValidationException, DCCContentMappingException
Method to prepare a messages' business content XML to be delivered to the backend. First, the implementation ofDCCInternationalSchemaValidator
is called if present. Then, the message is mapped calling the implementation ofDomibusConnectorClientContentMapper
if present. Last, the message gets again validated with an implementation ofDCCLocalSchemaValidator
if present.- Parameters:
message
- - The message object holding the business content XML at message/MessageContent/contentXML- Throws:
DCCContentMappingException
DCCMessageValidationException
-
prepareOutboundMessage
void prepareOutboundMessage(DomibusConnectorMessageType message) throws DCCMessageValidationException, DCCContentMappingException
Method to prepare a messages' business content XML to be submitted to the domibusConnector. First, the implementation ofDCCInternationalSchemaValidator
is called if present. Then, the message is mapped calling the implementation ofDomibusConnectorClientContentMapper
if present. Last, the message gets again validated with an implementation ofDCCLocalSchemaValidator
if present.- Parameters:
message
- - The message object holding the business content XML at message/MessageContent/contentXML- Throws:
DCCContentMappingException
DCCMessageValidationException
-
-