google-code-export / quickfix-messenger

Automatically exported from code.google.com/p/quickfix-messenger
1 stars 2 forks source link

Add support to configure custom logons #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
while starting(session-connect) as initiator with version 1.2.

with FIX4.2 or FIX4.4 the acceptor expected for session 2 aditionaly tags: 
Password(554=aPassword) and TestMessageIndicator(464=N)

how can i send:
8=FIX.4.29=INT35=A34=949=ME52=20110817-08:48:18.28556=OTHER98=0108=3005
54=aPassword464=N10=INT

it only send:
8=FIX.4.29=INT35=A34=649=ME52=20110825-10:43:08.46656=OTHER98=0108=3001
0=INT

i tried nearly all (include senseless) combinations within quickfix.cfg 
[session] sections

Original issue reported on code.google.com by boris.ga...@arcor.de on 25 Aug 2011 at 11:00

GoogleCodeExporter commented 9 years ago
i would like to have something like this within session config:
[session] 
BeginString=FIX.4.2 
SocketConnectPort=12345
SocketConnectHost=1.2.3.4 
SenderCompID=ME
TargetCompID=TARGET
-> Password=MyPassword
-> TestMessageIndicator=N

Original comment by boris.ga...@arcor.de on 26 Aug 2011 at 7:13

GoogleCodeExporter commented 9 years ago
This looks more like a QuickFIX/J issue -- need to investigate more

Original comment by jramoyo on 12 Sep 2012 at 2:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
For reference, we need to find a way to support this
http://www.quickfixj.org/confluence/display/qfj/Implementing+Custom+Logons

Original comment by jramoyo on 24 Sep 2012 at 10:18

GoogleCodeExporter commented 9 years ago
Updated summary

Original comment by jramoyo on 24 Sep 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Change label from defect to enhancement

Original comment by jramoyo on 24 Sep 2012 at 10:42

GoogleCodeExporter commented 9 years ago
A combination of:
http://www.quickfixj.org/confluence/display/qfj/Using+Custom+Settings
and
http://www.quickfixj.org/confluence/display/qfj/Implementing+Custom+Logons
should do the trick.

Seems simple enough, we'll include this as part of version 2.0

Original comment by jramoyo on 27 Sep 2012 at 8:54

GoogleCodeExporter commented 9 years ago
Fixed.

Add the following fields under a session configuration:
Username=<String>
Password=<String>
RawData=<String>
RawDataLength=<Integer>
TestMessageIndicator=<Boolean>

Example:
[session]
BeginString=FIX.4.3
SocketAcceptPort=9879
Username=username
Password=password
RawData=test data
RawDataLength=9
TestMessageIndicator=true

Original comment by jramoyo on 29 Sep 2012 at 2:39

GoogleCodeExporter commented 9 years ago
Changed owner

Original comment by jramoyo on 29 Sep 2012 at 2:40