This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-04-16T01:42:50.354-0500: Safepoint synchronization initiated. (46) | |
2015-04-16T01:42:50.354-0500: 5.156: Application time: 2.6397800 seconds | |
2015-04-16T01:42:50.354-0500: Entering safepoint region: GenCollectForAllocation | |
{Heap before GC invocations=0 (full 0): | |
par new generation total 614400K, used 409600K [0x0000000436a00000, 0x0000000468a00000, 0x0000000468a00000) | |
eden space 409600K, 100% used [0x0000000436a00000, 0x000000044fa00000, 0x000000044fa00000) | |
from space 204800K, 0% used [0x000000044fa00000, 0x000000044fa00000, 0x000000045c200000) | |
to space 204800K, 0% used [0x000000045c200000, 0x000000045c200000, 0x0000000468a00000) | |
concurrent mark-sweep generation total 14909440K, used 0K [0x0000000468a00000, 0x00000007f6a00000, 0x00000007f6a00000) | |
concurrent-mark-sweep perm gen total 153600K, used 15880K [0x00000007f6a00000, 0x0000000800000000, 0x0000000800000000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void convertFieldMapToJSON(DataDictionary dataDictionary, | |
FieldMap fieldmap, ObjectNode node) throws FieldNotFound { | |
// First process the "regular" fields. | |
Iterator<Field<?>> fieldIterator = fieldmap.iterator(); | |
while (fieldIterator.hasNext()) { | |
Field field = (Field) fieldIterator.next(); | |
String value = fieldmap.getString(field.getTag()); | |
if (!isGroupCountField(dataDictionary, field)) { | |
node.put(String.valueOf(field.getTag()), value); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This Gist contains an example of how to write a a FIX protocol parser using QuickFIX/J. | |
It also includes the XML data dictionary and a sample FIX message file with one OrderList message. | |
If you want to build/run this, you will need to link with QuickFIX/J and Jackson jars: | |
quickfixj-all-1.5.3.jar | |
mina-core-1.1.7.jar | |
slf4j-api-1.6.3.jar | |
log4j-1.2.15.jar | |
jackson-core-2.5.1.jar | |
jackson-databind-2.5.1.jar | |
jackson-annotations-2.5.1.jar |