简体   繁体   English

Quickfixj - 不支持的消息类型 - 执行报告 - Fix50 SP2

[英]Quickfixj - Unsupported Message Type - Execution Report - Fix50 SP2

I'm seeing the following message when someone send me an execution report:当有人向我发送执行报告时,我看到以下消息:

8=FIXT.1.19=9735=j34=349=XXXXXX52=20210204-10:42:00.29356=XXXXXX45=158=Unsupported Message Type372=8380=310=178 8=FIXT.1.19=9735=j34=349=XXXXXX52=20210204-10:42:00.29356=XXXXXX45=158=不支持的消息类型372=8380=310=178

I was expecting to receive the message in one of these methods of my application:我期望通过我的应用程序的以下方法之一接收消息:

@MessageCracker.Handler
 public void onMessage50SP2(quickfix.fix50sp2.ExecutionReport message, SessionId sid){
      //do something
}

@MessageCracker.Handler
 public void onMessage50SP1(quickfix.fix50sp1.ExecutionReport message, SessionId sid){
      //do something
}

@MessageCracker.Handler
 public void onMessage50SP(quickfix.fix50.ExecutionReport message, SessionId sid){
      //do something
}

But it seems that none of these methods capture the execution report(35=8) message.但似乎这些方法都没有捕获执行报告(35 = 8)消息。 I'm using quickfixj 2.1.0 What i'm doing wrong here?!我正在使用 quickfixj 2.1.0 我在这里做错了什么?!

Thank you.谢谢你。

I figured it out.我想到了。 I had to add another method:我不得不添加另一种方法:

 @MessageCracker.Handler
 public void onMessage44(quickfix.fix44.ExecutionReport message, SessionId sid){
      //do something
}

And it's working now.它现在正在工作。 But why would quickfixj decide to pick this method instead of the others, since i'm using fix version 5.0 sp2?!但是为什么 quickfixj 决定选择这种方法而不是其他方法,因为我使用的是修复版本 5.0 sp2?!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM