[This message was posted by Yan Cheng Cheok of xxx <[email protected]> to the 
"General Q/A" discussion forum at http://fixprotocol.org/discuss/22. You can 
reply to it on-line at http://fixprotocol.org/discuss/read/1f608695 - PLEASE DO 
NOT REPLY BY MAIL.]

I am using QuickFix/J

Currently, the example provided in QuickFIX/J, only allow single executor to 
talk with single banzai.

>From the settings in configuration file : 

(For Banzai)
[default]
FileStorePath=examples/target/data/banzai
ConnectionType=initiator
SenderCompID=BANZAI2
TargetCompID=EXEC
SocketConnectHost=localhost
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
ReconnectInterval=5
TargetSubID=aaa
CheckCompID=N

[session]
BeginString=FIX.4.2
SocketConnectPort=9878



(For Executor)
[default]
FileStorePath=examples/target/data/executor
ConnectionType=acceptor
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
ValidOrderTypes=1,2,3,4,F
SenderCompID=EXEC
TargetCompID=BANZAI
UseDataDictionary=Y
DefaultMarketPrice=12.30

[session]
BeginString=FIX.4.2
SocketAcceptPort=9878


Their behavior is as follow :

Executor - I only allowed single connection from someone called Banzai
Banzai - My name is Banzai, and I will only connect to Exectuor

I would like to change the behavior of them to as follow :

Executor - I allow connection from anyone.
Banzai - My name is <generated_through_runtime_dynamically>, and I will only 
connect to Exectuor

May I know how I can achieve that?

I try the following :
http://www.quickfixj.org/confluence/display/qfj/Implementing+Custom+Logons (Is 
this the correct way to have dynamically generated session?)

with only changing the code at Banzai side, and leave configuration file 
untouched, the connection wouldn't be allowed.

Is there other things else I need to change?

(1) Executor's code
(2) Configuration file for executor and banzai

Thanks!


[You can unsubscribe from this discussion group by sending a message to 
mailto:[email protected]]

--

You received this message because you are subscribed to the Google Groups 
"Financial Information eXchange" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fix-protocol?hl=en.


Reply via email to