Package org.apache.camel.component.xslt
Interface SourceHandlerFactory
- All Known Implementing Classes:
XmlSourceHandlerFactoryImpl
public interface SourceHandlerFactory
Interface to be implemented by concrete source handlers/converters
-
Method Summary
-
Method Details
-
getSource
Source getSource(org.apache.camel.Exchange exchange, org.apache.camel.Expression source) throws Exception Creates a specificSourcedepending on the current message exchanged- Parameters:
exchange- the exchangesource- source to use, instead of message body.- Returns:
- the source created from the message
- Throws:
Exception- if the source couldn't be created
-