Hi Not sure but I assume you should be able to do so following the same approach as per the example below:
https://github.com/apache/camel/blob/master/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/AuthenticationExample.java#L63 <https://github.com/apache/camel/blob/master/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/AuthenticationExample.java#L63> Correspondingly in your case CredentialInjector#inject method would need to do something like: public void inject(Exchange exchange) throws CamelExchangeException { LOG.info("Going to add DefaultCstmApplVerID (tag 1408)"); Message message = exchange.getIn().getMandatoryBody(Message.class); message.setField(new quickfix.field.DefaultCstmApplVerID()); } Babak > On 1 Mar 2021, at 09:00, Claus Ibsen <claus.ib...@gmail.com> wrote: > > Hi > > I am not aware of this. I assume you have read the camel quickfix doc > page and tried to see if there is such an option. > > You are welcome to dive into the source code and see where such an > option can be configured and what it may take to make this happen with > Camel. > And then create a JIRA ticket and submit a PR. > > > On Mon, Mar 1, 2021 at 8:48 AM Rafael Sainz > <rafael.sa...@tcmpartners.com> wrote: >> >> Hello, >> >> Does anyone know whether it is possible to add a tag in the logon message >> with Apache Camel Quickfix component?. >> In concrete, the integration case that I am working requires to add >> DefaultCstmApplVerID (tag 1408), that is a new field required in FIX 5.0. >> >> Thank you, >> >> Rafael >> > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2