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/02/04 02:48:39 UTC

[GitHub] [camel] bobpaulin opened a new pull request #5017: CAMEL-16139: Support for global autoDiscoverObjectMapper override

bobpaulin opened a new pull request #5017:
URL: https://github.com/apache/camel/pull/5017


   I would like to be able to override the global default of autoDiscoverObjectMapper  in the Java DSL.  Picked an option similar to how spring boot does this.  Global override is only applied if defined and not overridden in the definition.
   
   - [ X] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
   - [X ] Each commit in the pull request should have a meaningful subject line and body.
   - [X ] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue.
   - [ X] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   - [X ] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
   Below are the contribution guidelines:
   https://github.com/apache/camel/blob/master/CONTRIBUTING.md


----------------------------------------------------------------
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



[GitHub] [camel] davsclaus closed pull request #5017: CAMEL-16139: Support for global autoDiscoverObjectMapper override

Posted by GitBox <gi...@apache.org>.
davsclaus closed pull request #5017:
URL: https://github.com/apache/camel/pull/5017


   


----------------------------------------------------------------
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



[GitHub] [camel] davsclaus commented on pull request #5017: CAMEL-16139: Support for global autoDiscoverObjectMapper override

Posted by GitBox <gi...@apache.org>.
davsclaus commented on pull request #5017:
URL: https://github.com/apache/camel/pull/5017#issuecomment-773144704


   Use `DataFormatCustomizer` instead. You can register it into the registry where you can configure the data format from Java DSL as you like.
   
   We dont want to use global options as its end up being a dumping ground - ideally we get rid of it in the future, and move its few configurations to different model.


----------------------------------------------------------------
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



[GitHub] [camel] davsclaus commented on pull request #5017: CAMEL-16139: Support for global autoDiscoverObjectMapper override

Posted by GitBox <gi...@apache.org>.
davsclaus commented on pull request #5017:
URL: https://github.com/apache/camel/pull/5017#issuecomment-773144704


   Use `DataFormatCustomizer` instead. You can register it into the registry where you can configure the data format from Java DSL as you like.
   
   We dont want to use global options as its end up being a dumping ground - ideally we get rid of it in the future, and move its few configurations to different model.


----------------------------------------------------------------
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



[GitHub] [camel] davsclaus closed pull request #5017: CAMEL-16139: Support for global autoDiscoverObjectMapper override

Posted by GitBox <gi...@apache.org>.
davsclaus closed pull request #5017:
URL: https://github.com/apache/camel/pull/5017


   


----------------------------------------------------------------
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