This codec can be used in dirty mode for decoding and encoding messages via the FIX protocol.
To use the FIX codec you will need to specify the following codec factory: com.exactpro.th2.codec.fixng.FixNgCodecFactory
Configuration example.
beginString: FIXT.1.1
dictionary: fix_dictionary.xml
charset: US-ASCII
decodeDelimiter: \u0001
dirtyMode: false
decodeValuesToStrings: true
decodeComponentsToNestedMaps: true
default value: FIXT.1.1
. Value to put into the BeginString
field (tag: 8) when encoding messages.
required value. XML file containing the FIX dictionary.
default value: US-ASCII
. Charset for reading and writing FIX fields.
default value: \u0001
. Delimiter character from US-ASCII
charset.
default value: false
. If true
, processes all messages in dirty mode (generates warnings on invalid messages and continues processing). If false
, only messages that contain the encode-mode: dirty
property will be processed in dirty mode.
default value: true
. If true
, decodes all values to strings instead of typed values.
default value: true
. If true
, decodes components
to nested maps instead of unwrap component's map to message's main map.
Component benchmark results available here.
- fixed: codec can't encode fields with type
LocalDateTime
,LocalDate
,LocalTime
and value with timezone - Updated sailfish:
3.4.260
decodeDelimiter
setting option added.- Updated th2 gradle plugin
0.1.6
(th2-bom:4.9.0
)
- Dirty mode added.
dirtyMode
setting option added.decodeValuesToStrings
setting option added.- JMH benchmarks added
- Migrate to th2 gradle plugin
0.1.2
(th2-bom:4.7.0
) - Updated th2-common:
5.11.0-dev
- Updated th2-codec:
5.5.0-dev
- Updated sailfish:
3.3.241
- Workflows updated
- Initial release