Posts

Showing posts from August, 2017

apache camel with spring boot develop some draft - camel-quickfix-starter

1. create fix client communicate with fix server used camel-quickfix-starter pom.xml: <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-ahc-ws-starter</artifactId> <version>2.19.2</version> </dependency> application.xml: my: okcoin: wsuri: wss://real.okcoin.cn:10440/websocket/okcoinapi cfg: okcoin sessionID: ?sessionID=FIX.4.4:f75dcc4d-13fa-4118-a908-050b530f6913->OKSERVER userName: f75dcc4d-13fa-4118-a908-050b530f6913 password: MY_OKCOIN_PASSWORD src/main/resources/okcoin/inprocess.cfg: [session] BeginString=FIX.4.4 #FileStorePath=data/okclient #FileLogPath=data/okclientlog ConnectionType=initiator TargetCompID=OKSERVER StartTime=00:00:00 EndTime=00:00:00 HeartBtInt=30 ReconnectInterval=5 UseDataDictionary=Y DataDictionary=okcoin/FIX44.xml ResetOnLogon=Y ResetOnLogout=Y FileStoreMaxCachedMsgs=10 ResetOnDisconnect=Y ResetOnError=Y SocketUseSSL=Y ValidateUserDefinedField...