[QFJ-23] Create initial Spring Framework support and examples Created: 04/Jun/06 Updated: 10/Jan/10 Resolved: 10/Jan/10 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | Future Releases |
Type: | New Feature | Priority: | Major |
Reporter: | Steve Bate | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 0 |
Labels: | None |
Comments |
Comment by Toli Kuznets [ 22/Dec/06 ] |
Steve, we took a first crack at configuring QuickfixJ through Spring in our latest release. The first one sets up the paths for DataDictionaries to load, the quickfixj.xml deals with creating the log factories, the overall app for us is setup in a different file (oms.xml),but perhaps these could act as a starting point for other examples. |
Comment by David Gibbs [ 13/Oct/09 ] |
In case it helps any one I did the following <?xml version="1.0" encoding="UTF-8"?> <bean id="quickfixConfig" class="java.io.FileInputStream"> <bean id="sessionSettings" class="quickfix.SessionSettings"> <bean id="logFactory" class="quickfix.SLF4JLogFactory"> <bean id="messageFactory" class="quickfix.DefaultMessageFactory"> <bean id="messageStoreFactory" class="quickfix.FileStoreFactory"> </beans> Which is then included in a master config file where the acceptor is configured. <?xml version="1.0" encoding="UTF-8"?> <context:annotation-config /> <import resource="spring.quickfixj.xml"/> <bean id="acceptor" class="quickfix.SocketAcceptor"> <bean id="choreographer" class="com.iggroup.fix.otc.trading.Choreographer"> ..... </beans> |
Comment by Steve Bate [ 10/Jan/10 ] |
Nobody has been asking for this, so I'm closing the feature request (which I submitted). |