Interface CamelIntegrationRunActionBuilder<T extends TestAction,B extends CamelIntegrationRunActionBuilder<T,B>>

All Superinterfaces:
ActionBuilder<T,B>, CamelJBangActionBuilderBase<T,B>, ReferenceResolverAwareBuilder<T,B>, TestActionBuilder<T>

public interface CamelIntegrationRunActionBuilder<T extends TestAction,B extends CamelIntegrationRunActionBuilder<T,B>> extends CamelJBangActionBuilderBase<T,B>
  • Method Details

    • integration

      B integration(String sourceCode)
      Runs Camel integration from given source code.
    • integration

      B integration(Resource resource)
      Runs given Camel integration resource.
    • addResource

      B addResource(Resource resource)
      Add resource file to the integration run.
    • addResource

      B addResource(String resourcePath)
      Construct resource from given path and add file as resource to the integration run.
    • integration

      B integration(String name, String sourceCode)
      Adds route using one of the supported languages XML or Groovy.
    • integrationName

      B integrationName(String name)
      Sets the integration name.
    • withArg

      B withArg(String arg)
      Adds a command argument.
    • withArg

      B withArg(String name, String value)
      Adds a command argument with name and value.
    • withArgs

      B withArgs(String... args)
      Adds command arguments.
    • withEnv

      B withEnv(String key, String value)
      Adds an environment variable.
    • withEnvs

      B withEnvs(Map<String,String> envVars)
      Adds environment variables.
    • withEnvs

      B withEnvs(Resource envVarsFile)
      Adds environment variables from given file resource.
    • withSystemProperty

      B withSystemProperty(String key, String value)
      Adds a system properties.
    • withSystemProperties

      B withSystemProperties(Map<String,String> systemProperties)
      Adds system properties.
    • withSystemProperties

      B withSystemProperties(Resource systemPropertiesFile)
      Adds system properties from given file resource.
    • dumpIntegrationOutput

      B dumpIntegrationOutput(boolean enabled)
    • autoRemove

      B autoRemove(boolean enabled)
    • waitForRunningState

      B waitForRunningState(boolean enabled)