JBoss.orgCommunity Documentation

Chapter 8. Connectors

8.1. Common Connector Properties
8.2. Source Security
8.2.1. Specific Source Credentials
8.2.2. Using Session Credentials
8.2.3. Session and Specific Source Credentials
8.2.4. Configuring Connectors For Source Security

These properties are common to all connectors.

Property

Description

Type

Default

ConnectorBindingName

The name of the connector binding. Must be unique across all connector bindings. This property is not editable, and is not seen in the Designer in the connector properties table.

string

ConnectorClass

The class name of the custom connector class that connects to the data source. Required. Not editable.

string

ConnectorClassPath

The class path of the custom connector class that connects to the data source. Required.

string

ConnectorMaxThreads

The maximum number of connector worker threads. Required.

integer

ConnectorThreadTTL

The maximum length of time a connector thread may live in idle state. Required.

integer - milliseconds

ExceptionOnMaxRows

Specifies whether or not an exception is thrown when the number of rows for a query exceeds the value of MaxResultRows. If this flag is set to false, then no more rows than MaxResultRows will be returned, but no exception will be thrown.

boolean

MaxResultRows

The maximum number of rows to be processed by the connector from a source. A custom connector should stop adding rows to the ResultsCollector when the number of rows reaches this value. Optional – if not specified, all rows will be processed.

integer

Teiid can use the security mechanisms of individual data sources during execution.

The use of source security is driven off the credentials JDBC property.