[QFJ-391] Same config file and application for acceptors and initiators Created: 08/Jan/09 Updated: 17/Sep/09 Resolved: 09/Jan/09 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Other | Priority: | Default |
Reporter: | sangeetha | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
Is it possble to have same config file for acceptors and initiators such that ConnectionType is overrided in the Session block and I also want the same appliction to handle all the sessions irrespective of its initiator or acceptor When I tried I get the config error while creating SocketAcceptor. thanks |
Comments |
Comment by Steve Bate [ 09/Jan/09 ] |
> Is it possble to have same config file for acceptors and initiators such that ConnectionType is overrided in the Session block Yes. All the settings except for ConnectionType and session ID can be put in the default settings block. > I also want the same appliction to handle all the sessions irrespective of its initiator or acceptor This is not supported. |
Comment by Christopher Cranston [ 17/Sep/09 ] |
>> I also want the same appliction to handle all the sessions irrespective of its initiator or acceptor >This is not supported. Steve, why is this not supported? Can you explain what you mean by this? I have defined a combination of initiators and acceptors in my quickfixj config file. When the acceptor and initiator threads start in my application then the log clearly shows the acceptors waiting for connections and the initiators attempting to initiate connections. So surely it is possible to have a single application that functions through the same quickfixj callbacks regardless of the combination of initiator and acceptor sessions? Thanks, |