I'm working on Oracle JDK 8 to AdoptOpenJDK 11 migration. We are also using Apache Camel 2.20.2
. After JDK migration, I'm facing below issues in Camel Context XML file.
not able to recognize exchangePattern parameter
Even after having above issues, sometimes my application runs successfully and sometimes it gives error that it is not able to create spring bean. While creating below bean it says trustAllPackages is not a valid parameter which I know is not actually causing the issue.
I think the issue is somewhat related to the errors in XML file. My question is:
Currently we are using :
Thanks in advance.
You can see here what JDK version Camel supports https://camel.apache.org/manual/latest/what-are-the-dependencies.html
Camel 2.x only supports Java 8. You need Camel 3.x for Java 11 support.