Class ExchangeTestSupport

  • Direct Known Subclasses:
    LanguageTestSupport

    public abstract class ExchangeTestSupport
    extends CamelTestSupport
    A base class for a test which requires a CamelContext and a populated Exchange
    • Field Detail

      • exchange

        protected org.apache.camel.Exchange exchange
    • Constructor Detail

      • ExchangeTestSupport

        public ExchangeTestSupport()
    • Method Detail

      • createExchange

        protected org.apache.camel.Exchange createExchange()
        A factory method to create an Exchange implementation
      • populateExchange

        protected void populateExchange​(org.apache.camel.Exchange exchange)
        A strategy method to populate an exchange with some example values for use by language plugins