camel-robotframework-kafka-connector source configuration

When using camel-robotframework-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-robotframework-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

The camel-robotframework source connector supports 118 options, which are listed below.

Name Description Default Priority

camel.source.path.resourceUri

Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.

null

HIGH

camel.source.endpoint.allowTemplateFromHeader

Whether to allow to use resource template from header or not (default false). Enabling this allows to specify dynamic templates via message header. However this can be seen as a potential security vulnerability if the header is coming from a malicious user, so use this with care.

false

MEDIUM

camel.source.endpoint.argumentFile

A text file to read more arguments from.

null

MEDIUM

camel.source.endpoint.combinedTagStats

Creates combined statistics based on tags. Use the format tags:title List

null

MEDIUM

camel.source.endpoint.contentCache

Sets whether to use resource content cache or not

false

MEDIUM

camel.source.endpoint.criticalTags

Tests that have the given tags are considered critical. List

null

MEDIUM

camel.source.endpoint.debugFile

A debug file that is written during execution.

null

MEDIUM

camel.source.endpoint.document

Sets the documentation of the top-level tests suites.

null

MEDIUM

camel.source.endpoint.dryrun

Sets dryrun mode on use. In the dry run mode tests are run without executing keywords originating from test libraries. Useful for validating test data syntax.

false

MEDIUM

camel.source.endpoint.excludes

Selects the tests cases by tags. List

null

MEDIUM

camel.source.endpoint.exitOnFailure

Sets robot to stop execution immediately if a critical test fails.

false

MEDIUM

camel.source.endpoint.includes

Selects the tests cases by tags. List

null

MEDIUM

camel.source.endpoint.listener

Sets a single listener for monitoring tests execution

null

MEDIUM

camel.source.endpoint.listeners

Sets multiple listeners for monitoring tests execution. Use the format ListenerWithArgs:arg1:arg2 or simply ListenerWithoutArgs List

null

MEDIUM

camel.source.endpoint.log

Sets the path to the generated log file.

null

MEDIUM

camel.source.endpoint.logLevel

Sets the threshold level for logging.

null

MEDIUM

camel.source.endpoint.logTitle

Sets a title for the generated tests log.

null

MEDIUM

camel.source.endpoint.metadata

Sets free metadata for the top level tests suites. comma seperated list of string resulting as List

null

MEDIUM

camel.source.endpoint.monitorColors

Using ANSI colors in console. Normally colors work in unixes but not in Windows. Default is 'on'. 'on' - use colors in unixes but not in Windows 'off' - never use colors 'force' - always use colors (also in Windows)

null

MEDIUM

camel.source.endpoint.monitorWidth

Width of the monitor output. Default is 78.

"78"

MEDIUM

camel.source.endpoint.name

Sets the name of the top-level tests suites.

null

MEDIUM

camel.source.endpoint.nonCriticalTags

Tests that have the given tags are not critical. List

null

MEDIUM

camel.source.endpoint.noStatusReturnCode

If true, sets the return code to zero regardless of failures in test cases. Error codes are returned normally.

false

MEDIUM

camel.source.endpoint.output

Sets the path to the generated output file.

null

MEDIUM

camel.source.endpoint.outputDirectory

Configures where generated reports are to be placed.

null

MEDIUM

camel.source.endpoint.randomize

Sets the test execution order to be randomized. Valid values are all, suite, and test

null

MEDIUM

camel.source.endpoint.report

Sets the path to the generated report file.

null

MEDIUM

camel.source.endpoint.reportBackground

Sets background colors for the generated report and summary.

null

MEDIUM

camel.source.endpoint.reportTitle

Sets a title for the generated tests report.

null

MEDIUM

camel.source.endpoint.runEmptySuite

Executes tests also if the top level test suite is empty. Useful e.g. with --include/--exclude when it is not an error that no test matches the condition.

false

MEDIUM

camel.source.endpoint.runFailed

Re-run failed tests, based on output.xml file.

null

MEDIUM

camel.source.endpoint.runMode

Sets the execution mode for this tests run. Note that this setting has been deprecated in Robot Framework 2.8. Use separate dryryn, skipTeardownOnExit, exitOnFailure, and randomize settings instead.

null

MEDIUM

camel.source.endpoint.skipTeardownOnExit

Sets whether the teardowns are skipped if the test execution is prematurely stopped.

false

MEDIUM

camel.source.endpoint.splitOutputs

Splits output and log files.

null

MEDIUM

camel.source.endpoint.suites

Selects the tests suites by name. List

null

MEDIUM

camel.source.endpoint.suiteStatLevel

Defines how many levels to show in the Statistics by Suite table in outputs.

null

MEDIUM

camel.source.endpoint.summaryTitle

Sets a title for the generated summary report.

null

MEDIUM

camel.source.endpoint.tagDocs

Adds documentation to the specified tags. List

null

MEDIUM

camel.source.endpoint.tags

Sets the tags(s) to all executed tests cases. List

null

MEDIUM

camel.source.endpoint.tagStatExcludes

Excludes these tags from the Statistics by Tag and Test Details by Tag tables in outputs. List

null

MEDIUM

camel.source.endpoint.tagStatIncludes

Includes only these tags in the Statistics by Tag and Test Details by Tag tables in outputs. List

null

MEDIUM

camel.source.endpoint.tagStatLinks

Adds external links to the Statistics by Tag table in outputs. Use the format pattern:link:title List

null

MEDIUM

camel.source.endpoint.tests

Selects the tests cases by name. List

null

MEDIUM

camel.source.endpoint.timestampOutputs

Adds a timestamp to all output files.

false

MEDIUM

camel.source.endpoint.variableFiles

Sets variables using variables files. Use the format path:args List

null

MEDIUM

camel.source.endpoint.variables

Sets individual variables. Use the format name:value List

null

MEDIUM

camel.source.endpoint.warnOnSkippedFiles

Show a warning when an invalid file is skipped.

false

MEDIUM

camel.source.endpoint.xunitFile

Sets the path to the generated XUnit compatible result file, relative to outputDirectory. The file is in xml format. By default, the file name is derived from the testCasesDirectory parameter, replacing blanks in the directory name by underscores.

null

MEDIUM

camel.source.endpoint.bridgeErrorHandler

Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.

false

MEDIUM

camel.source.endpoint.sendEmptyMessageWhenIdle

If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.

false

MEDIUM

camel.source.endpoint.exceptionHandler

To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.

null

MEDIUM

camel.source.endpoint.exchangePattern

Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]

null

MEDIUM

camel.source.endpoint.pollStrategy

A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.

null

MEDIUM

camel.source.endpoint.basicPropertyBinding

Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities

false

MEDIUM

camel.source.endpoint.synchronous

Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

false

MEDIUM

camel.source.endpoint.backoffErrorThreshold

The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.

null

MEDIUM

camel.source.endpoint.backoffIdleThreshold

The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.

null

MEDIUM

camel.source.endpoint.backoffMultiplier

To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.

null

MEDIUM

camel.source.endpoint.delay

Milliseconds before the next poll.

500L

MEDIUM

camel.source.endpoint.greedy

If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.

false

MEDIUM

camel.source.endpoint.initialDelay

Milliseconds before the first poll starts.

1000L

MEDIUM

camel.source.endpoint.repeatCount

Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever.

0L

MEDIUM

camel.source.endpoint.runLoggingLevel

The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]

"TRACE"

MEDIUM

camel.source.endpoint.scheduledExecutorService

Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool.

null

MEDIUM

camel.source.endpoint.scheduler

To use a cron scheduler from either camel-spring or camel-quartz component One of: [none] [spring] [quartz]

"none"

MEDIUM

camel.source.endpoint.schedulerProperties

To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.

null

MEDIUM

camel.source.endpoint.startScheduler

Whether the scheduler should be auto started.

true

MEDIUM

camel.source.endpoint.timeUnit

Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]

"MILLISECONDS"

MEDIUM

camel.source.endpoint.useFixedDelay

Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.

true

MEDIUM

camel.component.robotframework.allowTemplateFrom Header

Whether to allow to use resource template from header or not (default false). Enabling this allows to specify dynamic templates via message header. However this can be seen as a potential security vulnerability if the header is coming from a malicious user, so use this with care.

false

MEDIUM

camel.component.robotframework.argumentFile

A text file to read more arguments from.

null

MEDIUM

camel.component.robotframework.combinedTagStats

Creates combined statistics based on tags. Use the format tags:title List

null

MEDIUM

camel.component.robotframework.criticalTags

Tests that have the given tags are considered critical. List

null

MEDIUM

camel.component.robotframework.debugFile

A debug file that is written during execution.

null

MEDIUM

camel.component.robotframework.document

Sets the documentation of the top-level tests suites.

null

MEDIUM

camel.component.robotframework.dryrun

Sets dryrun mode on use. In the dry run mode tests are run without executing keywords originating from test libraries. Useful for validating test data syntax.

false

MEDIUM

camel.component.robotframework.excludes

Selects the tests cases by tags. List

null

MEDIUM

camel.component.robotframework.exitOnFailure

Sets robot to stop execution immediately if a critical test fails.

false

MEDIUM

camel.component.robotframework.includes

Selects the tests cases by tags. List

null

MEDIUM

camel.component.robotframework.listener

Sets a single listener for monitoring tests execution

null

MEDIUM

camel.component.robotframework.listeners

Sets multiple listeners for monitoring tests execution. Use the format ListenerWithArgs:arg1:arg2 or simply ListenerWithoutArgs List

null

MEDIUM

camel.component.robotframework.log

Sets the path to the generated log file.

null

MEDIUM

camel.component.robotframework.logLevel

Sets the threshold level for logging.

null

MEDIUM

camel.component.robotframework.logTitle

Sets a title for the generated tests log.

null

MEDIUM

camel.component.robotframework.metadata

Sets free metadata for the top level tests suites. comma seperated list of string resulting as List

null

MEDIUM

camel.component.robotframework.monitorColors

Using ANSI colors in console. Normally colors work in unixes but not in Windows. Default is 'on'. 'on' - use colors in unixes but not in Windows 'off' - never use colors 'force' - always use colors (also in Windows)

null

MEDIUM

camel.component.robotframework.monitorWidth

Width of the monitor output. Default is 78.

"78"

MEDIUM

camel.component.robotframework.name

Sets the name of the top-level tests suites.

null

MEDIUM

camel.component.robotframework.nonCriticalTags

Tests that have the given tags are not critical. List

null

MEDIUM

camel.component.robotframework.noStatusReturnCode

If true, sets the return code to zero regardless of failures in test cases. Error codes are returned normally.

false

MEDIUM

camel.component.robotframework.output

Sets the path to the generated output file.

null

MEDIUM

camel.component.robotframework.outputDirectory

Configures where generated reports are to be placed.

null

MEDIUM

camel.component.robotframework.randomize

Sets the test execution order to be randomized. Valid values are all, suite, and test

null

MEDIUM

camel.component.robotframework.report

Sets the path to the generated report file.

null

MEDIUM

camel.component.robotframework.reportBackground

Sets background colors for the generated report and summary.

null

MEDIUM

camel.component.robotframework.reportTitle

Sets a title for the generated tests report.

null

MEDIUM

camel.component.robotframework.runEmptySuite

Executes tests also if the top level test suite is empty. Useful e.g. with --include/--exclude when it is not an error that no test matches the condition.

false

MEDIUM

camel.component.robotframework.runFailed

Re-run failed tests, based on output.xml file.

null

MEDIUM

camel.component.robotframework.runMode

Sets the execution mode for this tests run. Note that this setting has been deprecated in Robot Framework 2.8. Use separate dryryn, skipTeardownOnExit, exitOnFailure, and randomize settings instead.

null

MEDIUM

camel.component.robotframework.skipTeardownOnExit

Sets whether the teardowns are skipped if the test execution is prematurely stopped.

false

MEDIUM

camel.component.robotframework.splitOutputs

Splits output and log files.

null

MEDIUM

camel.component.robotframework.suites

Selects the tests suites by name. List

null

MEDIUM

camel.component.robotframework.suiteStatLevel

Defines how many levels to show in the Statistics by Suite table in outputs.

null

MEDIUM

camel.component.robotframework.summaryTitle

Sets a title for the generated summary report.

null

MEDIUM

camel.component.robotframework.tagDocs

Adds documentation to the specified tags. List

null

MEDIUM

camel.component.robotframework.tags

Sets the tags(s) to all executed tests cases. List

null

MEDIUM

camel.component.robotframework.tagStatExcludes

Excludes these tags from the Statistics by Tag and Test Details by Tag tables in outputs. List

null

MEDIUM

camel.component.robotframework.tagStatIncludes

Includes only these tags in the Statistics by Tag and Test Details by Tag tables in outputs. List

null

MEDIUM

camel.component.robotframework.tagStatLinks

Adds external links to the Statistics by Tag table in outputs. Use the format pattern:link:title List

null

MEDIUM

camel.component.robotframework.tests

Selects the tests cases by name. List

null

MEDIUM

camel.component.robotframework.timestampOutputs

Adds a timestamp to all output files.

false

MEDIUM

camel.component.robotframework.variableFiles

Sets variables using variables files. Use the format path:args List

null

MEDIUM

camel.component.robotframework.variables

Sets individual variables. Use the format name:value List

null

MEDIUM

camel.component.robotframework.warnOnSkippedFiles

Show a warning when an invalid file is skipped.

false

MEDIUM

camel.component.robotframework.xunitFile

Sets the path to the generated XUnit compatible result file, relative to outputDirectory. The file is in xml format. By default, the file name is derived from the testCasesDirectory parameter, replacing blanks in the directory name by underscores.

null

MEDIUM

camel.component.robotframework.bridgeErrorHandler

Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.

false

MEDIUM

camel.component.robotframework.basicProperty Binding

Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities

false

MEDIUM

camel.component.robotframework.configuration

The configuration

null

MEDIUM