QuickFIX/J

Multiple session, but uses the same host/port

Details

  • Type: Other Other
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Engine
  • Labels:
    None

Description

Hi,

I am new to QuickFIX, can you please help me, if there is any feature which allows multiple sessions which uses the same host port combination.

I checked some jira cases, in which I found "http://www.quickfixj.org/jira/browse/QFJ-165", is this useful, if yes, in which version is this patch applied?
To use this I have to do the config change, do i need to do any other change other than this?

If above case is not applicable to me, then how can I achieve this, is it possible?

Thanks for the efforts you put in to answer my query.
Appreciate your help.

Regards,
Hitesh

Activity

Hide
Pranab Kumar Naik added a comment - 12/Jul/10 2:16 PM

[DEFAULT]
ConnectionType=acceptor
ReconnectInterval=60
SenderCompID=SENDER
HeartBtInt=20
SocketAcceptAddress=localhost
SocketAcceptPort=8901
ResetOnLogon=Y
ResetOnLogout=Y
ValidateFieldsOutOfOrder=N
FileLogPath=Log
TransportDataDictionary=FIXT11.xml
FileStoreMaxCachedMsgs=0

  1. session definition
    [SESSION]
    BeginString=FIX.4.4
    DefaultApplVerID=FIX.4.4
    AppDataDictionary=FIX44.xml
    StartTime=07:15:00
    EndTime=18:00:00
    TargetCompID=DEV01
    FileStorePath=Log
  1. session definition
    [SESSION]
    BeginString=FIX.4.4
    DefaultApplVerID=FIX.4.4
    AppDataDictionary=FIX44.xml
    StartTime=07:15:00
    EndTime=18:00:00
    TargetCompID=DEV02
    FileStorePath=Log

You can specify multiple sessions by definign multiple session parameters. I think in the QuickfixJ sample there are examples for multiple sessions.

Show
Pranab Kumar Naik added a comment - 12/Jul/10 2:16 PM [DEFAULT] ConnectionType=acceptor ReconnectInterval=60 SenderCompID=SENDER HeartBtInt=20 SocketAcceptAddress=localhost SocketAcceptPort=8901 ResetOnLogon=Y ResetOnLogout=Y ValidateFieldsOutOfOrder=N FileLogPath=Log TransportDataDictionary=FIXT11.xml FileStoreMaxCachedMsgs=0
  1. session definition [SESSION] BeginString=FIX.4.4 DefaultApplVerID=FIX.4.4 AppDataDictionary=FIX44.xml StartTime=07:15:00 EndTime=18:00:00 TargetCompID=DEV01 FileStorePath=Log
  1. session definition [SESSION] BeginString=FIX.4.4 DefaultApplVerID=FIX.4.4 AppDataDictionary=FIX44.xml StartTime=07:15:00 EndTime=18:00:00 TargetCompID=DEV02 FileStorePath=Log
You can specify multiple sessions by definign multiple session parameters. I think in the QuickfixJ sample there are examples for multiple sessions.

People

  • Assignee:
    Unassigned
    Reporter:
    hitesh
Vote (0)
Watch (0)

Dates

  • Created:
    09/Jul/10 8:28 PM
    Updated:
    20/Mar/11 12:07 PM
    Resolved:
    20/Mar/11 12:07 PM