Configuring an integration server to record messages
You can configure an integration server to record message assembly files for all messages that are propagated through the message flow.
Before you begin
About this task
The recorded message assembly files are XML files that have a
.mxml file suffix.
A recorded message assembly file is written each time a message flow node propagates a message from
an output terminal to the input terminal of the next node in the message flow. You can import these
files into a test project and use them in your tests as: - Input data when invoking a message flow node
- Expected data for comparisons of the test results
- Substitute data to be returned by a Node Stub instead of invoking the actual node
You can configure an integration server to record all messages that pass through a message flow by setting properties in the RecordedMessageManager section of your integration server's server.conf.yaml file:
ResourceManagers:
RecordedMessageManager:
recordedMessagePath: 'C:\temp\IntegrationServer\recorded_messages' # Set the directory to store recorded messages
recordAllMessages: true # Set to 'true' to enabling recording of messages from all message flows
Procedure
Complete the following steps to configure the recording of messages as they pass through a message flow: