|
4.2 Changes
< Previous Next >
Re: Creating A User Defined Or Custom Message
Mahesh Kumaraguru <> 6 Oct 2009 9:01AM ET The xml fragments you posted are missing, repost it replacing < with [ and > with ]
> <message name="MyMessage" msgtype="U1" msgcat="admin"> <field
> name="CustomINT" required="N" /> <field name="CustomSTRING"
> required="N" /> </message>
>
> The both ends are using the same .xml file. above are the lines i added.
> Also i added the fields, namely, CustomINT and CustomSTRING.
>
> I have a class at client end MyMessage which extends quickfix.42.Message
> .....detail of constructor is below
>
> MyMessage(CustomINT intData, CustomSTRING stringData) {
> getheader().setField(new MsgType("U1")); setField(intData);
> setField(stringData); }
>
> CustomINT and CustomSTRING are also defined and are inherited from
> IntField and StringField...
>
> now where is the problem
Re: Creating A User Defined Or Custom Message Mahesh Kumaraguru 6 Oct 2009 9:01AM ET |