camel-quickfix

How to handle camel-quickfix CannotSendException?

别等时光非礼了梦想. 提交于 2019-12-12 23:59:29
问题 I am using QuickFix/J 1.6.4 in a camel-quickfix component. Sometimes, I get the CannotSendException and it is not clear, what the exception cause is. I looked at the code, but there it seems that this exception is thrown, when the message could not be send - regardless of the reason. So how do I have to handle this exception? Do I have to implement a retry mechanism, or does the engine handle this for me? If the engine does, how can I verify, that the message is sent afterwards? Exception

What causes the “Disconnecting: Encountered END_OF_STREAM” session message in QuickFix/J?

女生的网名这么多〃 提交于 2019-12-12 21:08:11
问题 I am using QuickFix/J version 1.6.4 within Apache Camel 2.17.0 and I get the session message Disconnecting: Encountered END_OF_STREAM . It is not an error, but in my case it leads to an unintentional Logoff . What circumstances can lead to this message and how do I analyze which circumstance in my case is the cause? 回答1: I found the answer of this question in this blog post by bhageera . In the end the reason was pretty silly… the counterparty I was connecting to allows only 1 connection per