|
From: Nenge M. <geo...@gm...> - 2020-06-02 12:54:14
|
Dear team, I am new with quickfixJ and I Im kindy requesting your help on this, from what I see the response of client QuickFixJTemplate when sending message is boolean which tells whether the message was successful delivered or not. For instance, @Autowired private QuickFixJTemplate clientQuickFixJTemplate; //send message boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); Now, how can I get response data for further implementation? Thank in advance. Nenge Masoya |
|
From: Colin D. <co...@ma...> - 2020-06-02 15:44:41
|
What do you mean by "response data"? Do you mean messages returned by the other party? If so, those will be received in your Application implementation in fromApp. On 6/2/20 5:56 AM, Nenge Masoya wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Dear team, > > I am new with quickfixJ and I Im kindy requesting your help on this, > from what I see the response of client QuickFixJTemplate when sending > message is boolean which tells whether the message was successful > delivered or not. > > For instance, > > @Autowired > private QuickFixJTemplate clientQuickFixJTemplate; > > //send message > > boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); > Now, how can I get response data for further implementation? > > Thank in advance. > > Nenge Masoya > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |
|
From: Nenge M. <geo...@gm...> - 2020-06-03 11:54:48
|
Hello Colin, Exactly, that is what I meant.. Thanks your help, I appreciate it Regards. On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > What do you mean by "response data"? Do you mean messages returned by the > other party? If so, those will be received in your Application > implementation in fromApp. > On 6/2/20 5:56 AM, Nenge Masoya wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Dear team, > > I am new with quickfixJ and I Im kindy requesting your help on this, from > what I see the response of client QuickFixJTemplate when sending message is > boolean which tells whether the message was successful delivered or not. > > For instance, > > @Autowired > private QuickFixJTemplate clientQuickFixJTemplate; > > //send message > > boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); > > Now, how can I get response data for further implementation? > > Thank in advance. > > Nenge Masoya > > > _______________________________________________ > Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884https://www.marketcetera.com > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Nenge M. <geo...@gm...> - 2020-06-18 13:35:11
|
Hello Devs, I am still facing the issues in reading messages returned from other party (server) which is using FIX.5.0SP2.... this is my errors message from events logs 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, 00:00:00-UTC - 22:50:00-UTC 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER 20200617-14:19:45: Configured socket addresses for session: [/"server-address here"] 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, class org.apache.mina.transport.socket.nio.NioSocketSession, remote=/"server-address here" 20200617-14:19:46: Initiated logon request 20200617-14:19:46: Invalid message: Can't determine ApplVerID from message 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 16=0 10=149 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon 20200617-14:19:46: Error during message processing quickfix.RuntimeError: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message at quickfix.Session.next(Session.java:1157) at quickfix.Session.next(Session.java:1204) at quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) at quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) at quickfix.Session.fromCallback(Session.java:1845) at quickfix.Session.verify(Session.java:1791) at quickfix.Session.nextLogon(Session.java:2129) at quickfix.Session.next(Session.java:1026) ... 4 more Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) at quickfix.Session.fromCallback(Session.java:1845) at quickfix.Session.verify(Session.java:1791) at quickfix.Session.nextLogon(Session.java:2129) at quickfix.Session.next(Session.java:1026) at quickfix.Session.next(Session.java:1204) at quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) at quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) at java.lang.Thread.run(Thread.java:748) I tried to follow the reference provided here here no success.. https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message And this is my log messages 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER 98=0 108=30 1137=9 10=139 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 16=0 10=149 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 Any one with the help will be appreciated guys... It make me mad for sure! Thanks Nenge On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > What do you mean by "response data"? Do you mean messages returned by the > other party? If so, those will be received in your Application > implementation in fromApp. > On 6/2/20 5:56 AM, Nenge Masoya wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Dear team, > > I am new with quickfixJ and I Im kindy requesting your help on this, from > what I see the response of client QuickFixJTemplate when sending message is > boolean which tells whether the message was successful delivered or not. > > For instance, > > @Autowired > private QuickFixJTemplate clientQuickFixJTemplate; > > //send message > > boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); > > Now, how can I get response data for further implementation? > > Thank in advance. > > Nenge Masoya > > > _______________________________________________ > Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884https://www.marketcetera.com > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Christoph J. <chr...@ma...> - 2020-06-18 13:41:15
|
Hi, which version of QFJ are you using? IMHO this should be fixed since version 2.0.0 or 2.1.0. Or I am confusing this with some other error... What is your session config? Cheers, Chris. On 18.06.20 15:36, Nenge Masoya wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hello Devs, > > I am still facing the issues in reading messages returned from other party (server) which is > using FIX.5.0SP2.... this is my errors message from events logs > > 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, 00:00:00-UTC - 22:50:00-UTC > 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER > 20200617-14:19:45: Configured socket addresses for session: [/"server-address here"] > 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322 <http://192.168.91.98:39322>, > class org.apache.mina.transport.socket.nio.NioSocketSession, remote=/"server-address here" > 20200617-14:19:46: Initiated logon request > 20200617-14:19:46: Invalid message: Can't determine ApplVerID from message 8=FIXT.1.1 9=65 35=2 > 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 16=0 10=149 > 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon > 20200617-14:19:46: Error during message processing > quickfix.RuntimeError: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to > quickfix.fix50sp2.Message > at quickfix.Session.next(Session.java:1157) > at quickfix.Session.next(Session.java:1204) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to > quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > ... 4 more > Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message > java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > at quickfix.Session.next(Session.java:1204) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > > I tried to follow the reference provided here here no success.. > https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message > > > And this is my log messages > > 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER 98=0 108=30 1137=9 10=139 > 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 16=0 10=149 > 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT 58=Logon Successful. 98=0 > 108=60 553=STT 554=SERVER 1137=8 10=117 > > > Any one with the help will be appreciated guys... It make me mad for sure! > > Thanks > > Nenge > > > On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma... > <mailto:co...@ma...>> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > What do you mean by "response data"? Do you mean messages returned by the other party? If so, > those will be received in your Application implementation in fromApp. > > On 6/2/20 5:56 AM, Nenge Masoya wrote: >> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ >> QuickFIX/J Support:http://www.quickfixj.org/support/ >> >> >> >> Dear team, >> >> I am new with quickfixJ and I Im kindy requesting your help on this, from what I see the >> response of client QuickFixJTemplate when sending message is boolean which tells whether the >> message was successful delivered or not. >> >> For instance, >> >> @Autowired >> private QuickFixJTemplate clientQuickFixJTemplate; >> >> //send message >> >> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >> Now, how can I get response data for further implementation? >> >> Thank in advance. >> >> Nenge Masoya >> >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... <mailto:Qui...@li...> >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884 > https://www.marketcetera.com > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... <mailto:Qui...@li...> > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |
|
From: Christoph J. <chr...@ma...> - 2020-06-19 23:01:32
|
Looking at the stack trace, I think your problem is that you are trying to crack admin messages (at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68)). This is not required. You only need to do this for application messages, i.e. in your fromApp() callback. Cheers, Chris. On 18.06.20 15:36, Nenge Masoya wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hello Devs, > > I am still facing the issues in reading messages returned from other party (server) which is > using FIX.5.0SP2.... this is my errors message from events logs > > 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, 00:00:00-UTC - 22:50:00-UTC > 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER > 20200617-14:19:45: Configured socket addresses for session: [/"server-address here"] > 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322 <http://192.168.91.98:39322>, > class org.apache.mina.transport.socket.nio.NioSocketSession, remote=/"server-address here" > 20200617-14:19:46: Initiated logon request > 20200617-14:19:46: Invalid message: Can't determine ApplVerID from message 8=FIXT.1.1 9=65 35=2 > 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 16=0 10=149 > 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon > 20200617-14:19:46: Error during message processing > quickfix.RuntimeError: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to > quickfix.fix50sp2.Message > at quickfix.Session.next(Session.java:1157) > at quickfix.Session.next(Session.java:1204) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to > quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > ... 4 more > Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message > java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > at quickfix.Session.next(Session.java:1204) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > > I tried to follow the reference provided here here no success.. > https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message > > > And this is my log messages > > 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER 98=0 108=30 1137=9 10=139 > 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 16=0 10=149 > 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT 58=Logon Successful. 98=0 > 108=60 553=STT 554=SERVER 1137=8 10=117 > > > Any one with the help will be appreciated guys... It make me mad for sure! > > Thanks > > Nenge > > > On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma... > <mailto:co...@ma...>> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > What do you mean by "response data"? Do you mean messages returned by the other party? If so, > those will be received in your Application implementation in fromApp. > > On 6/2/20 5:56 AM, Nenge Masoya wrote: >> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ >> QuickFIX/J Support:http://www.quickfixj.org/support/ >> >> >> >> Dear team, >> >> I am new with quickfixJ and I Im kindy requesting your help on this, from what I see the >> response of client QuickFixJTemplate when sending message is boolean which tells whether the >> message was successful delivered or not. >> >> For instance, >> >> @Autowired >> private QuickFixJTemplate clientQuickFixJTemplate; >> >> //send message >> >> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >> Now, how can I get response data for further implementation? >> >> Thank in advance. >> >> Nenge Masoya >> >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... <mailto:Qui...@li...> >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884 > https://www.marketcetera.com > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... <mailto:Qui...@li...> > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |
|
From: Nenge M. <geo...@gm...> - 2020-06-20 02:20:47
|
Thanks Chris.. On Sat, 20 Jun 2020, 02:01 Christoph John, <chr...@ma...> wrote: > Looking at the stack trace, I think your problem is that you are trying to > crack admin messages (at > tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68)). > This is not required. > You only need to do this for application messages, i.e. in your fromApp() > callback. > > Cheers, > Chris. > > On 18.06.20 15:36, Nenge Masoya wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hello Devs, > > I am still facing the issues in reading messages returned from other party > (server) which is using FIX.5.0SP2.... this is my errors message from > events logs > > 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, > 00:00:00-UTC - 22:50:00-UTC > 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER > 20200617-14:19:45: Configured socket addresses for session: > [/"server-address here"] > 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, > class org.apache.mina.transport.socket.nio.NioSocketSession, > remote=/"server-address here" > 20200617-14:19:46: Initiated logon request > 20200617-14:19:46: Invalid message: Can't determine ApplVerID from message > 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 > 16=0 10=149 > 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon > 20200617-14:19:46: Error during message processing > quickfix.RuntimeError: java.lang.ClassCastException: quickfix.fixt11.Logon > cannot be cast to quickfix.fix50sp2.Message > at quickfix.Session.next(Session.java:1157) > at quickfix.Session.next(Session.java:1204) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be > cast to quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at > tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > ... 4 more > Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message > java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to > quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at > tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > at quickfix.Session.next(Session.java:1204) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) > at > quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > > I tried to follow the reference provided here here no success.. > > https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message > > And this is my log messages > > 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER > 98=0 108=30 1137=9 10=139 > 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 > 16=0 10=149 > 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT > 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 > > > Any one with the help will be appreciated guys... It make me mad for sure! > > Thanks > > Nenge > > > On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> > wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >> http://www.quickfixj.org/support/ >> >> >> What do you mean by "response data"? Do you mean messages returned by the >> other party? If so, those will be received in your Application >> implementation in fromApp. >> On 6/2/20 5:56 AM, Nenge Masoya wrote: >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> Dear team, >> >> I am new with quickfixJ and I Im kindy requesting your help on this, from >> what I see the response of client QuickFixJTemplate when sending message is >> boolean which tells whether the message was successful delivered or not. >> >> For instance, >> >> @Autowired >> private QuickFixJTemplate clientQuickFixJTemplate; >> >> //send message >> >> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >> >> Now, how can I get response data for further implementation? >> >> Thank in advance. >> >> Nenge Masoya >> >> >> _______________________________________________ >> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> -- >> Colin DuPlantis >> Chief Architect, Marketcetera >> Download, Run, Trade >> 888.868.4884https://www.marketcetera.com >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > > > _______________________________________________ > Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > -- > Christoph John > Software Engineering > T +49 241 557...@ma... > > MACD GmbH > Oppenhoffallee 103 > 52066 Aachen, Germanywww.macd.com > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald > > |
|
From: Nenge M. <geo...@gm...> - 2020-06-20 02:24:15
|
On Sat, 20 Jun 2020, 02:01 Christoph John, <chr...@ma...> wrote: > Looking at the stack trace, I think your problem is that you are trying to > crack admin messages (at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin( > ClientApplicationAdapter.java:68)). This is not required. > You only need to do this for application messages, i.e. in your fromApp() > callback. > > Cheers, > Chris. > > On 18.06.20 15:36, Nenge Masoya wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hello Devs, > > I am still facing the issues in reading messages returned from other party > (server) which is using FIX.5.0SP2.... this is my errors message from > events logs > > 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, > 00:00:00-UTC - 22:50:00-UTC > 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER > 20200617-14:19:45: Configured socket addresses for session: > [/"server-address here"] > 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, > class org.apache.mina.transport.socket.nio.NioSocketSession, > remote=/"server-address here" > 20200617-14:19:46: Initiated logon request > 20200617-14:19:46: Invalid message: Can't determine ApplVerID from message > 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 > 16=0 10=149 > 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon > 20200617-14:19:46: Error during message processing > quickfix.RuntimeError: java.lang.ClassCastException: quickfix.fixt11.Logon > cannot be cast to quickfix.fix50sp2.Message > at quickfix.Session.next(Session.java:1157) > at quickfix.Session.next(Session.java:1204) > at quickfix.mina.ThreadPerSessionEventHandlingStrategy$ > MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingS > trategy.java:214) > at quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run( > ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be > cast to quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin( > ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > ... 4 more > Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message > java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to > quickfix.fix50sp2.Message > at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) > at tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin( > ClientApplicationAdapter.java:68) > at quickfix.Session.fromCallback(Session.java:1845) > at quickfix.Session.verify(Session.java:1791) > at quickfix.Session.nextLogon(Session.java:2129) > at quickfix.Session.next(Session.java:1026) > at quickfix.Session.next(Session.java:1204) > at quickfix.mina.ThreadPerSessionEventHandlingStrategy$ > MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingS > trategy.java:214) > at quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run( > ThreadPerSessionEventHandlingStrategy.java:142) > at java.lang.Thread.run(Thread.java:748) > > I tried to follow the reference provided here here no success.. > https://stackoverflow.com/questions/30074850/quickfix- > message-cannot-be-cast-to-quickfix-fix50sp2-message > > And this is my log messages > > 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER > 98=0 108=30 1137=9 10=139 > 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT 7=1 > 16=0 10=149 > 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT > 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 > > > Any one with the help will be appreciated guys... It make me mad for sure! > > Thanks > > Nenge > > > On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> > wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >> http://www.quickfixj.org/support/ >> >> >> What do you mean by "response data"? Do you mean messages returned by the >> other party? If so, those will be received in your Application >> implementation in fromApp. >> On 6/2/20 5:56 AM, Nenge Masoya wrote: >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> Dear team, >> >> I am new with quickfixJ and I Im kindy requesting your help on this, from >> what I see the response of client QuickFixJTemplate when sending message is >> boolean which tells whether the message was successful delivered or not. >> >> For instance, >> >> @Autowired >> private QuickFixJTemplate clientQuickFixJTemplate; >> >> //send message >> >> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >> >> Now, how can I get response data for further implementation? >> >> Thank in advance. >> >> Nenge Masoya >> >> >> _______________________________________________ >> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> -- >> Colin DuPlantis >> Chief Architect, Marketcetera >> Download, Run, Trade >> 888.868.4884https://www.marketcetera.com >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > > > _______________________________________________ > Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > -- > Christoph John > Software Engineering > T +49 241 557...@ma... > > MACD GmbH > Oppenhoffallee 103 > 52066 Aachen, Germanywww.macd.com > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald > > |
|
From: Nenge M. <geo...@gm...> - 2020-07-30 20:37:09
|
Hello Devs, I want to send "Party Details List Request" in quickfix/J unfortunately I was not able to find this api... I am using quickfix/J core 2.2.0. Is the there any alternative to use this because I wish I could have this api?. Any help will be appreciated. Thanks, Nenge Masoya On Sat, Jun 20, 2020 at 2:23 AM Nenge Masoya <geo...@gm...> wrote: > > On Sat, 20 Jun 2020, 02:01 Christoph John, <chr...@ma...> > wrote: > >> Looking at the stack trace, I think your problem is that you are trying >> to crack admin messages (at >> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68)). >> This is not required. >> You only need to do this for application messages, i.e. in your fromApp() >> callback. >> >> Cheers, >> Chris. >> >> On 18.06.20 15:36, Nenge Masoya wrote: >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> Hello Devs, >> >> I am still facing the issues in reading messages returned from other >> party (server) which is using FIX.5.0SP2.... this is my errors message from >> events logs >> >> 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, >> 00:00:00-UTC - 22:50:00-UTC >> 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER >> 20200617-14:19:45: Configured socket addresses for session: >> [/"server-address here"] >> 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, >> class org.apache.mina.transport.socket.nio.NioSocketSession, >> remote=/"server-address here" >> 20200617-14:19:46: Initiated logon request >> 20200617-14:19:46: Invalid message: Can't determine ApplVerID from >> message 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 >> 56=CLIENT 7=1 16=0 10=149 >> 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon >> 20200617-14:19:46: Error during message processing >> quickfix.RuntimeError: java.lang.ClassCastException: >> quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >> at quickfix.Session.next(Session.java:1157) >> at quickfix.Session.next(Session.java:1204) >> at >> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >> at >> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >> at java.lang.Thread.run(Thread.java:748) >> Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be >> cast to quickfix.fix50sp2.Message >> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >> at >> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >> at quickfix.Session.fromCallback(Session.java:1845) >> at quickfix.Session.verify(Session.java:1791) >> at quickfix.Session.nextLogon(Session.java:2129) >> at quickfix.Session.next(Session.java:1026) >> ... 4 more >> Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >> java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to >> quickfix.fix50sp2.Message >> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >> at >> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >> at quickfix.Session.fromCallback(Session.java:1845) >> at quickfix.Session.verify(Session.java:1791) >> at quickfix.Session.nextLogon(Session.java:2129) >> at quickfix.Session.next(Session.java:1026) >> at quickfix.Session.next(Session.java:1204) >> at >> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >> at >> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >> at java.lang.Thread.run(Thread.java:748) >> >> I tried to follow the reference provided here here no success.. >> >> https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message >> >> And this is my log messages >> >> 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER >> 98=0 108=30 1137=9 10=139 >> 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT >> 7=1 16=0 10=149 >> 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT >> 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 >> >> >> Any one with the help will be appreciated guys... It make me mad for sure! >> >> Thanks >> >> Nenge >> >> >> On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> >> wrote: >> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >>> http://www.quickfixj.org/support/ >>> >>> >>> What do you mean by "response data"? Do you mean messages returned by >>> the other party? If so, those will be received in your Application >>> implementation in fromApp. >>> On 6/2/20 5:56 AM, Nenge Masoya wrote: >>> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>> >>> >>> Dear team, >>> >>> I am new with quickfixJ and I Im kindy requesting your help on this, >>> from what I see the response of client QuickFixJTemplate when sending >>> message is boolean which tells whether the message was successful >>> delivered or not. >>> >>> For instance, >>> >>> @Autowired >>> private QuickFixJTemplate clientQuickFixJTemplate; >>> >>> //send message >>> >>> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >>> >>> Now, how can I get response data for further implementation? >>> >>> Thank in advance. >>> >>> Nenge Masoya >>> >>> >>> _______________________________________________ >>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >>> -- >>> Colin DuPlantis >>> Chief Architect, Marketcetera >>> Download, Run, Trade >>> 888.868.4884https://www.marketcetera.com >>> >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >> >> >> _______________________________________________ >> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> >> -- >> Christoph John >> Software Engineering >> T +49 241 557...@ma... >> >> MACD GmbH >> Oppenhoffallee 103 >> 52066 Aachen, Germanywww.macd.com >> >> Amtsgericht Aachen: HRB 8151 >> Ust.-Id: DE 813021663 >> Geschäftsführer: George Macdonald >> >> |
|
From: Grant B. <gbi...@co...> - 2020-07-30 22:21:33
|
That message is "CF", but it looks like the QF/j FIX50SP2 dictionary wasn't updated past "CE". Probably the best thing to do would be to edit your DD to add CF and regenerate the QF/j source and rebuild. On Thu, Jul 30, 2020 at 3:37 PM Nenge Masoya <geo...@gm...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Hello Devs, > > I want to send "Party Details List Request" in quickfix/J unfortunately I > was not able to find this api... I am using quickfix/J core 2.2.0. > > Is the there any alternative to use this because I wish I could have this > api?. > > Any help will be appreciated. > > Thanks, > > Nenge Masoya > > On Sat, Jun 20, 2020 at 2:23 AM Nenge Masoya <geo...@gm...> wrote: > >> >> On Sat, 20 Jun 2020, 02:01 Christoph John, <chr...@ma...> >> wrote: >> >>> Looking at the stack trace, I think your problem is that you are trying >>> to crack admin messages (at >>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68)). >>> This is not required. >>> You only need to do this for application messages, i.e. in your >>> fromApp() callback. >>> >>> Cheers, >>> Chris. >>> >>> On 18.06.20 15:36, Nenge Masoya wrote: >>> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>> >>> >>> Hello Devs, >>> >>> I am still facing the issues in reading messages returned from other >>> party (server) which is using FIX.5.0SP2.... this is my errors message from >>> events logs >>> >>> 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, >>> 00:00:00-UTC - 22:50:00-UTC >>> 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER >>> 20200617-14:19:45: Configured socket addresses for session: >>> [/"server-address here"] >>> 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, >>> class org.apache.mina.transport.socket.nio.NioSocketSession, >>> remote=/"server-address here" >>> 20200617-14:19:46: Initiated logon request >>> 20200617-14:19:46: Invalid message: Can't determine ApplVerID from >>> message 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 >>> 56=CLIENT 7=1 16=0 10=149 >>> 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon >>> 20200617-14:19:46: Error during message processing >>> quickfix.RuntimeError: java.lang.ClassCastException: >>> quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >>> at quickfix.Session.next(Session.java:1157) >>> at quickfix.Session.next(Session.java:1204) >>> at >>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>> at >>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>> at java.lang.Thread.run(Thread.java:748) >>> Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot be >>> cast to quickfix.fix50sp2.Message >>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>> at >>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>> at quickfix.Session.fromCallback(Session.java:1845) >>> at quickfix.Session.verify(Session.java:1791) >>> at quickfix.Session.nextLogon(Session.java:2129) >>> at quickfix.Session.next(Session.java:1026) >>> ... 4 more >>> Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >>> java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to >>> quickfix.fix50sp2.Message >>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>> at >>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>> at quickfix.Session.fromCallback(Session.java:1845) >>> at quickfix.Session.verify(Session.java:1791) >>> at quickfix.Session.nextLogon(Session.java:2129) >>> at quickfix.Session.next(Session.java:1026) >>> at quickfix.Session.next(Session.java:1204) >>> at >>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>> at >>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>> at java.lang.Thread.run(Thread.java:748) >>> >>> I tried to follow the reference provided here here no success.. >>> >>> https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message >>> >>> And this is my log messages >>> >>> 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER >>> 98=0 108=30 1137=9 10=139 >>> 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT >>> 7=1 16=0 10=149 >>> 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT >>> 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 >>> >>> >>> Any one with the help will be appreciated guys... It make me mad for >>> sure! >>> >>> Thanks >>> >>> Nenge >>> >>> >>> On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> >>> wrote: >>> >>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> >>>> Support: http://www.quickfixj.org/support/ >>>> >>>> >>>> What do you mean by "response data"? Do you mean messages returned by >>>> the other party? If so, those will be received in your Application >>>> implementation in fromApp. >>>> On 6/2/20 5:56 AM, Nenge Masoya wrote: >>>> >>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>> >>>> >>>> Dear team, >>>> >>>> I am new with quickfixJ and I Im kindy requesting your help on this, >>>> from what I see the response of client QuickFixJTemplate when sending >>>> message is boolean which tells whether the message was successful >>>> delivered or not. >>>> >>>> For instance, >>>> >>>> @Autowired >>>> private QuickFixJTemplate clientQuickFixJTemplate; >>>> >>>> //send message >>>> >>>> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >>>> >>>> Now, how can I get response data for further implementation? >>>> >>>> Thank in advance. >>>> >>>> Nenge Masoya >>>> >>>> >>>> _______________________________________________ >>>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>> >>>> -- >>>> Colin DuPlantis >>>> Chief Architect, Marketcetera >>>> Download, Run, Trade >>>> 888.868.4884https://www.marketcetera.com >>>> >>>> _______________________________________________ >>>> Quickfixj-users mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>> >>> >>> >>> _______________________________________________ >>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >>> >>> -- >>> Christoph John >>> Software Engineering >>> T +49 241 557...@ma... >>> >>> MACD GmbH >>> Oppenhoffallee 103 >>> 52066 Aachen, Germanywww.macd.com >>> >>> Amtsgericht Aachen: HRB 8151 >>> Ust.-Id: DE 813021663 >>> Geschäftsführer: George Macdonald >>> >>> _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less. http://connamara.com -- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC. |
|
From: Nenge M. <geo...@gm...> - 2020-07-31 12:35:11
|
Hello Grant, Thanks four your reply. I was able to update my DD as per your suggestion,, now how do I regenerate and rebuild QF/J sources. Thanks On Thu, Jul 30, 2020 at 10:25 PM Grant Birchmeier <gbi...@co...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > That message is "CF", but it looks like the QF/j FIX50SP2 dictionary > wasn't updated past "CE". > > Probably the best thing to do would be to edit your DD to add CF and > regenerate the QF/j source and rebuild. > > On Thu, Jul 30, 2020 at 3:37 PM Nenge Masoya <geo...@gm...> wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >> http://www.quickfixj.org/support/ >> >> >> Hello Devs, >> >> I want to send "Party Details List Request" in quickfix/J unfortunately I >> was not able to find this api... I am using quickfix/J core 2.2.0. >> >> Is the there any alternative to use this because I wish I could have >> this api?. >> >> Any help will be appreciated. >> >> Thanks, >> >> Nenge Masoya >> >> On Sat, Jun 20, 2020 at 2:23 AM Nenge Masoya <geo...@gm...> wrote: >> >>> >>> On Sat, 20 Jun 2020, 02:01 Christoph John, <chr...@ma...> >>> wrote: >>> >>>> Looking at the stack trace, I think your problem is that you are trying >>>> to crack admin messages (at >>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68)). >>>> This is not required. >>>> You only need to do this for application messages, i.e. in your >>>> fromApp() callback. >>>> >>>> Cheers, >>>> Chris. >>>> >>>> On 18.06.20 15:36, Nenge Masoya wrote: >>>> >>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>> >>>> >>>> Hello Devs, >>>> >>>> I am still facing the issues in reading messages returned from other >>>> party (server) which is using FIX.5.0SP2.... this is my errors message from >>>> events logs >>>> >>>> 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, >>>> 00:00:00-UTC - 22:50:00-UTC >>>> 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER >>>> 20200617-14:19:45: Configured socket addresses for session: >>>> [/"server-address here"] >>>> 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, >>>> class org.apache.mina.transport.socket.nio.NioSocketSession, >>>> remote=/"server-address here" >>>> 20200617-14:19:46: Initiated logon request >>>> 20200617-14:19:46: Invalid message: Can't determine ApplVerID from >>>> message 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 >>>> 56=CLIENT 7=1 16=0 10=149 >>>> 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon >>>> 20200617-14:19:46: Error during message processing >>>> quickfix.RuntimeError: java.lang.ClassCastException: >>>> quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >>>> at quickfix.Session.next(Session.java:1157) >>>> at quickfix.Session.next(Session.java:1204) >>>> at >>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>>> at >>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>>> at java.lang.Thread.run(Thread.java:748) >>>> Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot >>>> be cast to quickfix.fix50sp2.Message >>>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>>> at >>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>>> at quickfix.Session.fromCallback(Session.java:1845) >>>> at quickfix.Session.verify(Session.java:1791) >>>> at quickfix.Session.nextLogon(Session.java:2129) >>>> at quickfix.Session.next(Session.java:1026) >>>> ... 4 more >>>> Cause: quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >>>> java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to >>>> quickfix.fix50sp2.Message >>>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>>> at >>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>>> at quickfix.Session.fromCallback(Session.java:1845) >>>> at quickfix.Session.verify(Session.java:1791) >>>> at quickfix.Session.nextLogon(Session.java:2129) >>>> at quickfix.Session.next(Session.java:1026) >>>> at quickfix.Session.next(Session.java:1204) >>>> at >>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>>> at >>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>>> at java.lang.Thread.run(Thread.java:748) >>>> >>>> I tried to follow the reference provided here here no success.. >>>> >>>> https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message >>>> >>>> And this is my log messages >>>> >>>> 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER >>>> 98=0 108=30 1137=9 10=139 >>>> 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT >>>> 7=1 16=0 10=149 >>>> 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 56=CLIENT >>>> 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 >>>> >>>> >>>> Any one with the help will be appreciated guys... It make me mad for >>>> sure! >>>> >>>> Thanks >>>> >>>> Nenge >>>> >>>> >>>> On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> >>>> wrote: >>>> >>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> >>>>> Support: http://www.quickfixj.org/support/ >>>>> >>>>> >>>>> What do you mean by "response data"? Do you mean messages returned by >>>>> the other party? If so, those will be received in your Application >>>>> implementation in fromApp. >>>>> On 6/2/20 5:56 AM, Nenge Masoya wrote: >>>>> >>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>>> >>>>> >>>>> Dear team, >>>>> >>>>> I am new with quickfixJ and I Im kindy requesting your help on this, >>>>> from what I see the response of client QuickFixJTemplate when sending >>>>> message is boolean which tells whether the message was successful >>>>> delivered or not. >>>>> >>>>> For instance, >>>>> >>>>> @Autowired >>>>> private QuickFixJTemplate clientQuickFixJTemplate; >>>>> >>>>> //send message >>>>> >>>>> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >>>>> >>>>> Now, how can I get response data for further implementation? >>>>> >>>>> Thank in advance. >>>>> >>>>> Nenge Masoya >>>>> >>>>> >>>>> _______________________________________________ >>>>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>> >>>>> -- >>>>> Colin DuPlantis >>>>> Chief Architect, Marketcetera >>>>> Download, Run, Trade >>>>> 888.868.4884https://www.marketcetera.com >>>>> >>>>> _______________________________________________ >>>>> Quickfixj-users mailing list >>>>> Qui...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>> >>>> >>>> -- >>>> Christoph John >>>> Software Engineering >>>> T +49 241 557...@ma... >>>> >>>> MACD GmbH >>>> Oppenhoffallee 103 >>>> 52066 Aachen, Germanywww.macd.com >>>> >>>> Amtsgericht Aachen: HRB 8151 >>>> Ust.-Id: DE 813021663 >>>> Geschäftsführer: George Macdonald >>>> >>>> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > > > -- > Grant Birchmeier > *Connamara Systems, LLC* > *Made-To-Measure Trading Solutions.* > Exactly what you need. No more. No less. > http://connamara.com > > This email, along with any attachments, is confidential. If you believe > you received this message in error, please contact the sender immediately > and delete all copies of the message. Thank you from Connamara Systems, LLC. > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Grant B. <gbi...@co...> - 2020-07-31 12:54:48
|
I haven't regenerated the code in a very long time (not since before QF/j changed to Maven). I'm surprised that I can't find anything directly addressing this in the README. Is it built-in to the main Maven build target? Can someone else help Mr. Masoya with this one? How do you kick off the code generator? On Fri, Jul 31, 2020 at 7:37 AM Nenge Masoya <geo...@gm...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Hello Grant, > > Thanks four your reply. > > I was able to update my DD as per your suggestion,, now how do I > regenerate and rebuild QF/J sources. > > > Thanks > > On Thu, Jul 30, 2020 at 10:25 PM Grant Birchmeier < > gbi...@co...> wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >> http://www.quickfixj.org/support/ >> >> >> That message is "CF", but it looks like the QF/j FIX50SP2 dictionary >> wasn't updated past "CE". >> >> Probably the best thing to do would be to edit your DD to add CF and >> regenerate the QF/j source and rebuild. >> >> On Thu, Jul 30, 2020 at 3:37 PM Nenge Masoya <geo...@gm...> wrote: >> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >>> http://www.quickfixj.org/support/ >>> >>> >>> Hello Devs, >>> >>> I want to send "Party Details List Request" in quickfix/J unfortunately >>> I was not able to find this api... I am using quickfix/J core 2.2.0. >>> >>> Is the there any alternative to use this because I wish I could have >>> this api?. >>> >>> Any help will be appreciated. >>> >>> Thanks, >>> >>> Nenge Masoya >>> >>> On Sat, Jun 20, 2020 at 2:23 AM Nenge Masoya <geo...@gm...> >>> wrote: >>> >>>> >>>> On Sat, 20 Jun 2020, 02:01 Christoph John, <chr...@ma...> >>>> wrote: >>>> >>>>> Looking at the stack trace, I think your problem is that you are >>>>> trying to crack admin messages (at >>>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68)). >>>>> This is not required. >>>>> You only need to do this for application messages, i.e. in your >>>>> fromApp() callback. >>>>> >>>>> Cheers, >>>>> Chris. >>>>> >>>>> On 18.06.20 15:36, Nenge Masoya wrote: >>>>> >>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>>> >>>>> >>>>> Hello Devs, >>>>> >>>>> I am still facing the issues in reading messages returned from other >>>>> party (server) which is using FIX.5.0SP2.... this is my errors message from >>>>> events logs >>>>> >>>>> 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, >>>>> 00:00:00-UTC - 22:50:00-UTC >>>>> 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER >>>>> 20200617-14:19:45: Configured socket addresses for session: >>>>> [/"server-address here"] >>>>> 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, >>>>> class org.apache.mina.transport.socket.nio.NioSocketSession, >>>>> remote=/"server-address here" >>>>> 20200617-14:19:46: Initiated logon request >>>>> 20200617-14:19:46: Invalid message: Can't determine ApplVerID from >>>>> message 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 >>>>> 56=CLIENT 7=1 16=0 10=149 >>>>> 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon >>>>> 20200617-14:19:46: Error during message processing >>>>> quickfix.RuntimeError: java.lang.ClassCastException: >>>>> quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >>>>> at quickfix.Session.next(Session.java:1157) >>>>> at quickfix.Session.next(Session.java:1204) >>>>> at >>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>>>> at >>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>>>> at java.lang.Thread.run(Thread.java:748) >>>>> Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot >>>>> be cast to quickfix.fix50sp2.Message >>>>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>>>> at >>>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>>>> at quickfix.Session.fromCallback(Session.java:1845) >>>>> at quickfix.Session.verify(Session.java:1791) >>>>> at quickfix.Session.nextLogon(Session.java:2129) >>>>> at quickfix.Session.next(Session.java:1026) >>>>> ... 4 more >>>>> Cause: quickfix.fixt11.Logon cannot be cast to >>>>> quickfix.fix50sp2.Message >>>>> java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to >>>>> quickfix.fix50sp2.Message >>>>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>>>> at >>>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>>>> at quickfix.Session.fromCallback(Session.java:1845) >>>>> at quickfix.Session.verify(Session.java:1791) >>>>> at quickfix.Session.nextLogon(Session.java:2129) >>>>> at quickfix.Session.next(Session.java:1026) >>>>> at quickfix.Session.next(Session.java:1204) >>>>> at >>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>>>> at >>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>>>> at java.lang.Thread.run(Thread.java:748) >>>>> >>>>> I tried to follow the reference provided here here no success.. >>>>> >>>>> https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message >>>>> >>>>> And this is my log messages >>>>> >>>>> 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 56=SERVER >>>>> 98=0 108=30 1137=9 10=139 >>>>> 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 56=CLIENT >>>>> 7=1 16=0 10=149 >>>>> 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 >>>>> 56=CLIENT 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 >>>>> >>>>> >>>>> Any one with the help will be appreciated guys... It make me mad for >>>>> sure! >>>>> >>>>> Thanks >>>>> >>>>> Nenge >>>>> >>>>> >>>>> On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis <co...@ma...> >>>>> wrote: >>>>> >>>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> >>>>>> Support: http://www.quickfixj.org/support/ >>>>>> >>>>>> >>>>>> What do you mean by "response data"? Do you mean messages returned by >>>>>> the other party? If so, those will be received in your Application >>>>>> implementation in fromApp. >>>>>> On 6/2/20 5:56 AM, Nenge Masoya wrote: >>>>>> >>>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>>>> >>>>>> >>>>>> Dear team, >>>>>> >>>>>> I am new with quickfixJ and I Im kindy requesting your help on this, >>>>>> from what I see the response of client QuickFixJTemplate when sending >>>>>> message is boolean which tells whether the message was successful >>>>>> delivered or not. >>>>>> >>>>>> For instance, >>>>>> >>>>>> @Autowired >>>>>> private QuickFixJTemplate clientQuickFixJTemplate; >>>>>> >>>>>> //send message >>>>>> >>>>>> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >>>>>> >>>>>> Now, how can I get response data for further implementation? >>>>>> >>>>>> Thank in advance. >>>>>> >>>>>> Nenge Masoya >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>>> >>>>>> -- >>>>>> Colin DuPlantis >>>>>> Chief Architect, Marketcetera >>>>>> Download, Run, Trade >>>>>> 888.868.4884https://www.marketcetera.com >>>>>> >>>>>> _______________________________________________ >>>>>> Quickfixj-users mailing list >>>>>> Qui...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>> >>>>> >>>>> -- >>>>> Christoph John >>>>> Software Engineering >>>>> T +49 241 557...@ma... >>>>> >>>>> MACD GmbH >>>>> Oppenhoffallee 103 >>>>> 52066 Aachen, Germanywww.macd.com >>>>> >>>>> Amtsgericht Aachen: HRB 8151 >>>>> Ust.-Id: DE 813021663 >>>>> Geschäftsführer: George Macdonald >>>>> >>>>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >> >> >> -- >> Grant Birchmeier >> *Connamara Systems, LLC* >> *Made-To-Measure Trading Solutions.* >> Exactly what you need. No more. No less. >> http://connamara.com >> >> This email, along with any attachments, is confidential. If you believe >> you received this message in error, please contact the sender immediately >> and delete all copies of the message. Thank you from Connamara Systems, LLC. >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less. http://connamara.com -- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC. |
|
From: Nenge M. <geo...@gm...> - 2020-08-06 13:18:51
|
Hello guys... Any help on regeneration and rebuild of QF/J codes regarding with party Details List Request message? (CF) Thanks. On Fri, Jul 31, 2020 at 12:56 PM Grant Birchmeier <gbi...@co...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > I haven't regenerated the code in a very long time (not since before QF/j > changed to Maven). I'm surprised that I can't find anything directly > addressing this in the README. Is it built-in to the main Maven build > target? > > Can someone else help Mr. Masoya with this one? How do you kick off the > code generator? > > > > On Fri, Jul 31, 2020 at 7:37 AM Nenge Masoya <geo...@gm...> wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >> http://www.quickfixj.org/support/ >> >> >> Hello Grant, >> >> Thanks four your reply. >> >> I was able to update my DD as per your suggestion,, now how do I >> regenerate and rebuild QF/J sources. >> >> >> Thanks >> >> On Thu, Jul 30, 2020 at 10:25 PM Grant Birchmeier < >> gbi...@co...> wrote: >> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >>> http://www.quickfixj.org/support/ >>> >>> >>> That message is "CF", but it looks like the QF/j FIX50SP2 dictionary >>> wasn't updated past "CE". >>> >>> Probably the best thing to do would be to edit your DD to add CF and >>> regenerate the QF/j source and rebuild. >>> >>> On Thu, Jul 30, 2020 at 3:37 PM Nenge Masoya <geo...@gm...> >>> wrote: >>> >>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> >>>> Support: http://www.quickfixj.org/support/ >>>> >>>> >>>> Hello Devs, >>>> >>>> I want to send "Party Details List Request" in quickfix/J unfortunately >>>> I was not able to find this api... I am using quickfix/J core 2.2.0. >>>> >>>> Is the there any alternative to use this because I wish I could have >>>> this api?. >>>> >>>> Any help will be appreciated. >>>> >>>> Thanks, >>>> >>>> Nenge Masoya >>>> >>>> On Sat, Jun 20, 2020 at 2:23 AM Nenge Masoya <geo...@gm...> >>>> wrote: >>>> >>>>> >>>>> On Sat, 20 Jun 2020, 02:01 Christoph John, <chr...@ma...> >>>>> wrote: >>>>> >>>>>> Looking at the stack trace, I think your problem is that you are >>>>>> trying to crack admin messages (at >>>>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68)). >>>>>> This is not required. >>>>>> You only need to do this for application messages, i.e. in your >>>>>> fromApp() callback. >>>>>> >>>>>> Cheers, >>>>>> Chris. >>>>>> >>>>>> On 18.06.20 15:36, Nenge Masoya wrote: >>>>>> >>>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>>>> >>>>>> >>>>>> Hello Devs, >>>>>> >>>>>> I am still facing the issues in reading messages returned from other >>>>>> party (server) which is using FIX.5.0SP2.... this is my errors message from >>>>>> events logs >>>>>> >>>>>> 20200617-14:19:45: Session FIXT.1.1:CLIENT->SERVER schedule is daily, >>>>>> 00:00:00-UTC - 22:50:00-UTC >>>>>> 20200617-14:19:45: Created session: FIXT.1.1:CLIENT->SERVER >>>>>> 20200617-14:19:45: Configured socket addresses for session: >>>>>> [/"server-address here"] >>>>>> 20200617-14:19:45: MINA session created: local=/192.168.91.98:39322, >>>>>> class org.apache.mina.transport.socket.nio.NioSocketSession, >>>>>> remote=/"server-address here" >>>>>> 20200617-14:19:46: Initiated logon request >>>>>> 20200617-14:19:46: Invalid message: Can't determine ApplVerID from >>>>>> message 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 >>>>>> 56=CLIENT 7=1 16=0 10=149 >>>>>> 20200617-14:19:46: Setting DefaultApplVerID (1137=8) from Logon >>>>>> 20200617-14:19:46: Error during message processing >>>>>> quickfix.RuntimeError: java.lang.ClassCastException: >>>>>> quickfix.fixt11.Logon cannot be cast to quickfix.fix50sp2.Message >>>>>> at quickfix.Session.next(Session.java:1157) >>>>>> at quickfix.Session.next(Session.java:1204) >>>>>> at >>>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>>>>> at >>>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>>>>> at java.lang.Thread.run(Thread.java:748) >>>>>> Caused by: java.lang.ClassCastException: quickfix.fixt11.Logon cannot >>>>>> be cast to quickfix.fix50sp2.Message >>>>>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>>>>> at >>>>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>>>>> at quickfix.Session.fromCallback(Session.java:1845) >>>>>> at quickfix.Session.verify(Session.java:1791) >>>>>> at quickfix.Session.nextLogon(Session.java:2129) >>>>>> at quickfix.Session.next(Session.java:1026) >>>>>> ... 4 more >>>>>> Cause: quickfix.fixt11.Logon cannot be cast to >>>>>> quickfix.fix50sp2.Message >>>>>> java.lang.ClassCastException: quickfix.fixt11.Logon cannot be cast to >>>>>> quickfix.fix50sp2.Message >>>>>> at quickfix.fix50sp2.MessageCracker.crack(MessageCracker.java:1446) >>>>>> at >>>>>> tz.go.mtp.ats.ClientApplicationAdapter.fromAdmin(ClientApplicationAdapter.java:68) >>>>>> at quickfix.Session.fromCallback(Session.java:1845) >>>>>> at quickfix.Session.verify(Session.java:1791) >>>>>> at quickfix.Session.nextLogon(Session.java:2129) >>>>>> at quickfix.Session.next(Session.java:1026) >>>>>> at quickfix.Session.next(Session.java:1204) >>>>>> at >>>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.doRun(ThreadPerSessionEventHandlingStrategy.java:214) >>>>>> at >>>>>> quickfix.mina.ThreadPerSessionEventHandlingStrategy$ThreadAdapter.run(ThreadPerSessionEventHandlingStrategy.java:142) >>>>>> at java.lang.Thread.run(Thread.java:748) >>>>>> >>>>>> I tried to follow the reference provided here here no success.. >>>>>> >>>>>> https://stackoverflow.com/questions/30074850/quickfix-message-cannot-be-cast-to-quickfix-fix50sp2-message >>>>>> >>>>>> And this is my log messages >>>>>> >>>>>> 8=FIXT.1.1 9=75 35=A 34=2 49=CLIENT 52=20200617-14:19:46.103 >>>>>> 56=SERVER 98=0 108=30 1137=9 10=139 >>>>>> 8=FIXT.1.1 9=65 35=2 34=1 49=SERVER 52=20200617-14:21:08.234 >>>>>> 56=CLIENT 7=1 16=0 10=149 >>>>>> 8=FIXT.1.1 9=112 35=A 34=2 49=SERVER 52=20200617-14:21:08.242 >>>>>> 56=CLIENT 58=Logon Successful. 98=0 108=60 553=STT 554=SERVER 1137=8 10=117 >>>>>> >>>>>> >>>>>> Any one with the help will be appreciated guys... It make me mad for >>>>>> sure! >>>>>> >>>>>> Thanks >>>>>> >>>>>> Nenge >>>>>> >>>>>> >>>>>> On Tue, Jun 2, 2020 at 6:47 PM Colin DuPlantis < >>>>>> co...@ma...> wrote: >>>>>> >>>>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>>>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> >>>>>>> Support: http://www.quickfixj.org/support/ >>>>>>> >>>>>>> >>>>>>> What do you mean by "response data"? Do you mean messages returned >>>>>>> by the other party? If so, those will be received in your Application >>>>>>> implementation in fromApp. >>>>>>> On 6/2/20 5:56 AM, Nenge Masoya wrote: >>>>>>> >>>>>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>>>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>>>>> >>>>>>> >>>>>>> Dear team, >>>>>>> >>>>>>> I am new with quickfixJ and I Im kindy requesting your help on this, >>>>>>> from what I see the response of client QuickFixJTemplate when sending >>>>>>> message is boolean which tells whether the message was successful >>>>>>> delivered or not. >>>>>>> >>>>>>> For instance, >>>>>>> >>>>>>> @Autowired >>>>>>> private QuickFixJTemplate clientQuickFixJTemplate; >>>>>>> >>>>>>> //send message >>>>>>> >>>>>>> boolean send = clientQuickFixJTemplate.send(fixMessage, sessionID); >>>>>>> >>>>>>> Now, how can I get response data for further implementation? >>>>>>> >>>>>>> Thank in advance. >>>>>>> >>>>>>> Nenge Masoya >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>>>> >>>>>>> -- >>>>>>> Colin DuPlantis >>>>>>> Chief Architect, Marketcetera >>>>>>> Download, Run, Trade >>>>>>> 888.868.4884https://www.marketcetera.com >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Quickfixj-users mailing list >>>>>>> Qui...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>>>> >>>>>> >>>>>> -- >>>>>> Christoph John >>>>>> Software Engineering >>>>>> T +49 241 557...@ma... >>>>>> >>>>>> MACD GmbH >>>>>> Oppenhoffallee 103 >>>>>> 52066 Aachen, Germanywww.macd.com >>>>>> >>>>>> Amtsgericht Aachen: HRB 8151 >>>>>> Ust.-Id: DE 813021663 >>>>>> Geschäftsführer: George Macdonald >>>>>> >>>>>> _______________________________________________ >>>> Quickfixj-users mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>> >>> >>> >>> -- >>> Grant Birchmeier >>> *Connamara Systems, LLC* >>> *Made-To-Measure Trading Solutions.* >>> Exactly what you need. No more. No less. >>> http://connamara.com >>> >>> This email, along with any attachments, is confidential. If you believe >>> you received this message in error, please contact the sender immediately >>> and delete all copies of the message. Thank you from Connamara Systems, LLC. >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > > > -- > Grant Birchmeier > *Connamara Systems, LLC* > *Made-To-Measure Trading Solutions.* > Exactly what you need. No more. No less. > http://connamara.com > > This email, along with any attachments, is confidential. If you believe > you received this message in error, please contact the sender immediately > and delete all copies of the message. Thank you from Connamara Systems, LLC. > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Christoph J. <chr...@ma...> - 2020-08-06 16:03:55
|
Actually you "only" need to get the QFJ sources from here: https://github.com/quickfix-j/quickfixj Build instructions here: https://github.com/quickfix-j/quickfixj#build-instructions Then swap out the dictionary in FIX5.0SP2 module with your updated version and rebuild. If you use maven for your project, then the more sophisticated but yet to be documented way would be to use the code generator Maven plugin: https://github.com/quickfix-j/quickfixj/tree/master/quickfixj-codegenerator/src/main/java/org/quickfixj/codegenerator Cheers, Chris. On 06.08.20 15:20, Nenge Masoya wrote: > QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ > QuickFIX/J Support:http://www.quickfixj.org/support/ > > > > > Hello guys... > > > Any help on regeneration and rebuild of QF/J codes regarding with party Details List Request > message? (CF) > > Thanks. > > On Fri, Jul 31, 2020 at 12:56 PM Grant Birchmeier <gbi...@co... > <mailto:gbi...@co...>> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > I haven't regenerated the code in a very long time (not since before QF/j changed to > Maven). I'm surprised that I can't find anything directly addressing this in the README. Is > it built-in to the main Maven build target? > > Can someone else help Mr. Masoya with this one? How do you kick off the code generator? > > > > On Fri, Jul 31, 2020 at 7:37 AM Nenge Masoya <geo...@gm... > <mailto:geo...@gm...>> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Hello Grant, > > Thanks four your reply. > > I was able to update my DD as per your suggestion,, now how do I regenerate and rebuild > QF/J sources. > > > Thanks > > On Thu, Jul 30, 2020 at 10:25 PM Grant Birchmeier <gbi...@co... > <mailto:gbi...@co...>> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > That message is "CF", but it looks like the QF/j FIX50SP2 dictionary wasn't updated > past "CE". > > Probably the best thing to do would be to edit your DD to add CF and regenerate the > QF/j source and rebuild. > > On Thu, Jul 30, 2020 at 3:37 PM Nenge Masoya <geo...@gm... > <mailto:geo...@gm...>> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Hello Devs, > > I want to send "Party Details List Request" in quickfix/J unfortunately I was not > able to find this api... I am using quickfix/J core 2.2.0. > > Is the there any alternative to use this because I wish I could have this api?. > > Any help will be appreciated. > > Thanks, > > Nenge Masoya > -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |