[QFJ-538] Multiple session, but uses the same host/port Created: 09/Jul/10  Updated: 20/Mar/11  Resolved: 20/Mar/11

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: None
Fix Version/s: None

Type: Other Priority: Major
Reporter: hitesh Assignee: Unassigned
Resolution: Fixed Votes: 0
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



 Comments   
Comment by Pranab Kumar Naik [ 12/Jul/10 ]

[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.

Generated at Sun Apr 28 21:26:33 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.