Interface SourceHandlerFactory

  • All Known Implementing Classes:
    XmlSourceHandlerFactoryImpl

    public interface SourceHandlerFactory
    Interface to be implemented by concrete source handlers/converters
    • Method Detail

      • getSource

        Source getSource​(org.apache.camel.Exchange exchange)
                  throws Exception
        Creates a specific Source depending on the current message exchanged
        Parameters:
        exchange - the exchange
        Returns:
        the source created from the message
        Throws:
        Exception - if the source couldn't be created