With Apache Camel on 3.20
version I used to use the setDataFormatResolver
method, which was from ExtendedCamelContext
, to set a custom data format in CamelContext
. But since 4.0.0-M3
version, this method has been removed from the class. I'm wondering, how could I replace this method to some similar?
I searched at the documentation, but I didn't find the answer I'm looking for.
Another question about the same subject, now that ExtendedCamelContext
is decoupled from CamelContext
, when ExtendedCamelContext
is instantiated the CamelContext
will keep being one single instance?