luigidemasi edited a comment on pull request #855: URL: https://github.com/apache/camel-kafka-connector/pull/855#issuecomment-759652739
> I was under the general impression that this usecase should have worked already using something like: > > ``` > camel.dataformat.fhirJson.fhirVersion=R4 > camel.dataformat.fhirJson.prettyPrint=true > ``` > > see https://github.com/apache/camel-kafka-connector/blob/master/core/src/test/java/org/apache/camel/kafkaconnector/DataFormatTest.java#L128 > Give me some more time to investigate further. It should work but it doesn't, if you look at the test, you disable validation and then assert that the validation is enabled. I think it's a bug on camel-main atuoconfiguration that doesn't bind the dataformat in the registry after configuring it and an empty new one is created when the route starts. Opened an issue for this: [CAMEL-16032](https://issues.apache.org/jira/browse/CAMEL-16032) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org