We are upgrading from Camel v2.13 to v2.16 and discovered that beanRef() has been marked as deprecated. What is the replacement/alternative recommended by Apache Camel. I was unable to find anything useful on Camel v2.16.0 Documentation site.
Even updated examples are not yet available.
beanRef() is syntax within Java DSL Bean Language of Camel.
I assume that you are talking about the
The javadoc comments say to use the
bean(...) methods as replacements for the