Skip to content

Commit baf8f27

Browse files
committed
README.md
1 parent 039e841 commit baf8f27

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

README.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,44 @@
1-
# th2-codec-fix-ng
2-
Yet another FIX codec
1+
# th2-codec-fix-ng 0.1.0
2+
3+
This codec can be used in dirty mode for decoding and encoding messages via the FIX protocol.
4+
5+
## Configuration
6+
7+
### Codec factory
8+
9+
To use the FIX codec you will need to specify the following codec factory:
10+
**com.exactpro.th2.codec.fixng.FixNgCodecFactory**
11+
12+
### Configuration parameters
13+
Configuration example.
14+
```yaml
15+
beginString: FIXT.1.1
16+
dictionary: fix_dictionary.xml
17+
charset: US_ASCII
18+
dirtyMode: false
19+
decodeValuesToStrings: true
20+
```
21+
22+
#### beginString
23+
default value: `FIXT.1.1`. Value to put into the `BeginString` field (tag: 8) when encoding messages.
24+
25+
#### dictionary
26+
required value. XML file containing the FIX dictionary.
27+
28+
#### charset
29+
default value: `US_ASCII`. Charset for reading and writing FIX fields.
30+
31+
#### dirtyMode
32+
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.
33+
34+
#### decodeValuesToStrings
35+
default value: `true`. Decode all values to strings instead of typed values.
36+
37+
## Release notes
38+
### 0.1.0
39+
+ Dirty mode added.
40+
+ `dirtyMode` setting option added.
41+
+ `decodeValuesToStrings` setting option added.
42+
43+
### 0.0.1
44+
+ Initial release

0 commit comments

Comments
 (0)