You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/01/13 19:00:49 UTC

[GitHub] [camel-kafka-connector] luigidemasi commented on pull request #855: Support camel dataformat configuration for marshaller/unmarshaller #816

luigidemasi commented 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 and a 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:
users@infra.apache.org