Created
June 10, 2020 07:50
-
-
Save johnpoth/9a9b2d606d0d03c9878955c3de9fd17f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rule id="java-generic-information-00032"> | |
<when> | |
<javaclass references="org.apache.camel.CamelContext.{get|set}Propert{y|ies}({*})" > | |
<location>METHOD_CALL</location> | |
</javaclass> | |
</when> | |
<perform> | |
<hint title="`org.apache.camel.CamelContext` property methods have been removed." effort="1" | |
category-id="mandatory"> | |
<message>The `getProperties` and `setProperty` methods have been removed from `org.apache.camel.CamelContext`. Please use `getGlobalOptions` and `setGlobalOptions` instead</message> | |
<link title="Camel 3 - Migration Guide: CONFIGURING GLOBAL OPTIONS ON CAMELCONTEXT" | |
href="https://camel.apache.org/manual/latest/camel-3-migration-guide.html#_configuring_global_options_on_camelcontext"/> | |
</hint> | |
</perform> | |
</rule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment