Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.39.7. TypeConverter for SAXSource
Overview Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Apache Camel supports a type converter mechanism, which is used to perform implicit and explicit type conversions of message bodies and message headers. The type converter mechanism is extensible and it so happens that the provider demonstration requires a custom type converter that can convert
String
objects to SAXSource
objects.
String to SAXSource type converter Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
The
String
to SAXSource
type converter is implemented in the AdditionalConverters
class, as follows:
Reference Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
For full details of the type converter mechanism in Apache Camel, see Section 42.3, “Built-In Type Converters” and Chapter 44, Type Converters.