[QFJ-715] CLONE - To handle 880 tag in FIX4.4 protocol using quickfixj1.3.3 jar Created: 08/Nov/12  Updated: 08/Nov/12  Resolved: 08/Nov/12

Status: Closed
Project: QuickFIX/J
Component/s: Message Generation
Affects Version/s: 1.3.3
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Lailesh Jawale Assignee: Unassigned
Resolution: Not a bug Votes: 0
Labels: None
Environment:

Production



 Description   

Hi,

I am trying to populate some extra fields as part of my ongoing requirment in project for clearing fields.
The extra tags need to be populated are:

Repeating group is:
453 =2 (448=CME447=D452=21448=CCP447=D452=16)
1003 and 880 tags

To process the repeating group we require to use DataDictionay internally so we are using it as below:

1) The call for quickfix message is:
quickfix.Message(msb.toString(), new DataDictionary("FIX44.xml"), true);

2) UseDataDictionary=Y as configuration part for FIX level.

We are able to genearte the repeating group (453 =2 (448=CME447=D452=21448=CCP447=D452=16)) and 1003 tag successfully, however when we tray to pass 880 field the quickfixj 1.3.3 throws an error as:

********************************************************************************
Exception stack is:
1. Header fields out of order (quickfix.InvalidMessage)
quickfix.Message:386 (null)
2. Component that caused exception is: SedaService

{PreprocessServiceComponent}

. Message payload is of type: String (org.mule.api.service.ServiceException)
org.mule.component.DefaultLifecycleAdapter:216 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/service/ServiceException.html)
********************************************************************************
Root Exception stack trace:
quickfix.InvalidMessage: Header fields out of order

**********************************************************************************

Please guide us to handle 880 tag along with repeating group and 1003 tag in fix4.4 protocol and using quickfixk1.3.3 jar.



 Comments   
Comment by Lailesh Jawale [ 08/Nov/12 ]

I have updated the quickfix jar to 1.5.2 version, still I am getting problems as :

Message : Component that caused exception is: SedaService

{PreprocessServiceComponent}. Message payload is of type: String
Type : org.mule.api.service.ServiceException
Code : MULE_ERROR--2
Payload : 35=8|116=AUTOMAT01|115=AUTOMAT|1=CMECC@AUTOMAT|6=53.880000000|11=74121601|14=100000.000000000|15=USD|17=1675136|30=TRA|31=53.880000000|32=100000.000000000|37=TRAIANA_354877064|38=100000.000000000|39=2|54=1|55=USDINR|60=20121029-19:25:55|64=20121108|75=20121029|120=INR|150=F|119=5388000.000000000|194=53.880000000|195=.000000000|461=Forward|1003=1675136|453=2|448=CME|447=D|452=21|448=CCP|447=D|452=16|541=20121106|880=123|
JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/service/ServiceException.html
********************************************************************************
Exception stack is:
1. Field [35] was not found in message. (quickfix.InvalidMessage)
quickfix.Message:426 (null)
2. Component that caused exception is: SedaService{PreprocessServiceComponent}

. Message payload is of type: String (org.mule.api.service.ServiceException)
org.mule.component.DefaultLifecycleAdapter:216 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/service/ServiceException.html)
********************************************************************************
Root Exception stack trace:
quickfix.InvalidMessage: Field [35] was not found in message.
at quickfix.Message.getMsgType(Message.java:426)
at quickfix.Message.parseBody(Message.java:448)
at quickfix.Message.fromString(Message.java:358)

The input sample is :
35=8|116=AUTOMAT01|115=AUTOMAT|1=CMECC@AUTOMAT|6=53.880000000|11=74121601|14=100000.000000000|15=USD|17=1675136|30=TRA|31=53.880000000|32=100000.000000000|37=TRAIANA_354877064|38=100000.000000000|39=2|54=1|55=USDINR|60=20121029-19:25:55|64=20121108|75=20121029|120=INR|150=F|119=5388000.000000000|194=53.880000000|195=.000000000|461=Forward|1003=1675136|453=2|448=CME|447=D|452=21|448=CCP|447=D|452=16|541=20121106|880=123|

We are using java methods to call the quickfixj.message method as:

new quickfix.Message(msb.toString(), new DataDictionary("FIX44.xml"), false);

Please guide us we are getting issues only when we add 880 tag in input, otherwise rest tags work properly with repeting group and 1003 tag.

Comment by Christoph John [ 08/Nov/12 ]

As stated on QFJ-714:

You should join the mailing list and send your question there. The JIRA system is for tracking engine bugs and is not monitored by many people.

http://quickfixj.org/support/

Thank you!!!

Generated at Sat Nov 23 07:20:30 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.