|
From: Shepheard, T. \(London\) <Tob...@ml...> - 2006-08-29 17:06:28
|
One option would be to regenerate the generated source code using your new data dictionary and rebuild the quickfix jar. That would be my preferred approach as it gives proper class representations for the mew messsages and fields. The build.xml file contains targets for doing all of this painlessly. Not sure how to go about getting the MessageCracker code to handle new messages it doesn't know about. They're all explicitly coded in the crack4x methods, falling through to the exception-throwing onMesssage default if they don't handle it. =20 HTH, Toby -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Alex McGlashan Sent: 29 August 2006 16:01 To: qui...@li... Subject: Re: [Quickfixj-users] Adding messages to data dictionary QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Steve, Sorry for the confusion - I had temporarily resolved the problem by hard-coding a check for the new message type in my fromApp method but have now reverted to calling the MessageCracker as recommended and am now getting the original problem again. To recap: my QuickFIX is sending a BusinessMessageReject message (type=3D"j", reason=3DUnsupported Message Type) on receipt of the new message type. I have tried to add the new message type to my FIX42.xml file to no avail. Is there any way of specifying the new message type to QuickFIX such that I can then code an onMessage method for it? Thanks again for your help! Alex =20 -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Steve Bate Sent: 29 August 2006 15:51 To: qui...@li... Subject: Re: [Quickfixj-users] Adding messages to data dictionary QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Alex, Are these postings out of order or are you still having problems after setting the MsgType in the message header? Steve=20 ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail.=20 Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail.=20 Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Registered Address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, United Kingdom ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the = sender, delete it and do not read, act upon, print, disclose, copy, = retain or redistribute it. Click here for important additional terms = relating to this e-mail. http://www.ml.com/email_terms/ -------------------------------------------------------- |