-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom build issue for SecurityIDSource tag-td = 22 #883
Comments
To which file did you make changes? You mention one time FIX50SP2 and one time FIX50SP2.modified |
I changed to FIX50SP2.modified.xml file , as in our application we are using the file as FIX50SP2.xml file so taken the modified FIX50SP2.xml file content and replace the content to FIX50SP2.modified.xml file content in Quickfixj source code to rebuild it. |
@sushil023 , you are correct, I does not work for me either. @david-gibbs-ig , could you maybe take a look? I'm pretty sure that this worked before 3.0.0-SNAPSHOT. I added two enums and rebuilt, but the changes are not reflected in the code. Thank you in advance. :)
Edit: when building on 2.3.x I can see the changed enums in the file On 3.0.0-SNAPSHOT there are the following files but none of them has the changed enums:
When building I can see the following:
The named file in the output above has my changes but the file in the directory that is listed above does NOT have my changes although the file timestamp is up-to-date. |
Similar issue is there for tag-id 460 “Product” if adding new value to it not reflecting..!!! |
Well, I'd say that is expected when the other tags did not work. Could you use 2.3.x to generate the classes? |
Please have a look at Please have a look at the The way that 3.0.0-SNAPSHOT works is similar to the older versions with regard to the FIX Protocol Fields . The QuickFIX/J build treats these as "universal". All the Fields are generated and are "shared" by different versions of the application protocols (4.0 through 5.0sp2). You can see this if you look at the generated classes in
So we see that the definition of fields and code sets (the enumerations for legitimate values of fields) comes from fixlatest. The definition of messages comes from the respective FIX protocol version XML files. You can customise the code sets and/or add new Fields by updating the FIX Orchestra file in the QuickFIX/J project. From So what is the easiest and most familiar way to build the custom quickfixj-messages-fix50sp2 ? Please see
Update ! Example has been added, see further comments. Hope this helps, kind regards |
So basically this isn't a bug, to see a quick resolution, update the code set in the FIX Orchestra File. |
Please find an example build from customizing the FIX50SP2 QFJ Dictionary here : https://github.com/david-gibbs-ig/quickfixj-custom-orchestration-examples QFJ 3.0.0 is not yet released so to see this working - build and install QFJ locally build the examples use the generated artifact as a dependency for your application alongside the QFJ base, core and FIXT1.1 artifacts, taking care to omit the FIX50SP2 artifact published from the QFJ project, as described in the readme,md . i.e. |
Example of a custom build and using it here : quickfix-j/quickfixj-custom-orchestration-examples#1 The example is for FIXLatest. Update ! The axample of using the custom build from the legacy codegen is now committed. @sushil023 @chrjohn See also comments above |
@sushil023 @chrjohn quickfix-j/quickfixj-custom-orchestration-examples#1 includes examples of building custom messages packages and using them at runtime. You can clone from |
Describe the bug
As per our requirement we have made changes to FIX50SP2.xml file added some new messages and tags and new supported values for those tags. What ever changes we done in the xml file after doind mvn clean install in their corresponding generated source files those changes are reflecting. But only for tag-d 22 that is SecurityIDSource we added 2 new supported values to it 403 and 403 . After rebuild the code in SecurityIDSouce.java file those new supported values not reflecting.
To Reproduce
Open the FIX50SP2.modified.xml file and under add below new values
and then rebuild it using mvn clean install after installation done check in SecurityIDSource.java file new 2 values 403 and 404 adding or not.
Expected behavior
After rebuild in SecurityIDSource.java file 403 and 404 two new values with its entries should be show.
system information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: