org.marketcetera.ors.filters
Interface MessageModifier
- All Known Implementing Classes:
- DefaultMessageModifier, FieldDuplicatorMessageModifier, FieldRemoverMessageModifier, TransactionTimeInsertMessageModifier
public interface MessageModifier
Interface for all custom order modifiers that can be created by
Marketcetera Platform users, added to the ORS to be executed
before the orders are sent out to FIX destinations.
An example can be a modifier that always adds a SecurityID field
containing the value of the Symbol field.
modifyMessage
boolean modifyMessage(Message message,
ReportHistoryServices historyServices,
FIXMessageAugmentor augmentor)
throws CoreException
- Implement the function to make in-line modifications to the incoming message.
- Parameters:
message - the message to be modifiedaugmentor - FIX-version specific augmentor to apply to this message
- Returns:
- true if the modifier has modified the message, false otherwise
- Throws:
CoreException
Copyright © 2012. All Rights Reserved.