[QFJ-815] Originalsending (tag 122) is getting deleted by initiator. Created: 21/Oct/14  Updated: 22/Oct/14  Resolved: 22/Oct/14

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.5.3
Fix Version/s: None

Type: Other Priority: Major
Reporter: raghuram potluri Assignee: Unassigned
Resolution: Not a bug Votes: 0
Labels: None
Environment:

windows



 Description   

when invoking sendtotarget, initiator removing origsendingtime field in below code snipped.

public boolean send(Message message)

{ message.getHeader().removeField(PossDupFlag.FIELD); message.getHeader().removeField(OrigSendingTime.FIELD); return sendRaw(message, 0); }

 Comments   
Comment by Christoph John [ 22/Oct/14 ]

Two things:
1. You should rather not manually set tags like PossDupFlag and OrigSendingTime. This session-level stuff is handled by the engine and it is likely that you are doing something wrong when you tamper with it.
2. If you really really want to manipulate those tags you should do it in the toApp() callback of your application.

If you have further questions please use the QF/J mailing list. https://lists.sourceforge.net/lists/listinfo/quickfixj-users

Thanks

Generated at Sun Apr 28 15:24:39 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.