The following section describes what the Submit Agent is and what its responsibility is:
Agent Responsibility
The Submit Agent acts as the "entry-point" of the component for when a message is to be sent. Its only task is to make sure that the SubmitMessage
is transformed to an AS4Message
using a Sending Processing Mode so that the message can be send correctly by the Send Agent to the next MSH
Message Flow
When a SubmitMessage
gets sent to the agent, it goes to a flow to transform the message to a canonical AS4Message
used in the rest of the component.
- Retrieve the right Sending Processing Mode from the
SubmitMessage
used further in the AS4.NET Component - Transform the incoming
SubmitMessage
to anAS4Message
using both the information specified in theSubmitMessage
and the determined Sending Processing Mode - Send the
AS4Message
to the Send Agent so it can further be processed
Agent Trigger
The Submit operation is triggered each time the Business Application (message producer) sends a SubmitMessage
to the agent. A SubmitMessage
can be send to the Submit Agent via a its configured Receiver.
Static Submit Configuration
The Submit Agent can be configured as a Static Submit Agent. This requires you to pre-configure the Submit Agent with a specific Sending Processing Mode. A Static Submit Agent requires you to submit payloads directly to the agent instead of using SubmitMessage
's. For every submitted payload, the pre-configured Sending Processing Mode will be used to create an AS4Message
.
To configure a Static Submit Agent, do the following:
- Go to the configuration of the Submit Agent you want to make static
- Change the Transformer to a
SubmitPayloadTransformer
- The setting
SendingPMode
will appear - Specify the Sending Processing Mode that must be used to create
AS4Message
's for the files that are sent to the Submit Agent