Enterprise

Search documentation

Connector Worker Configuration

Binding and environment variables

Use application.yaml, a mounted Spring configuration file or environment variables. For canonical environment names, uppercase the property, replace dots with underscores and remove hyphens. List indices become underscore-delimited numbers. For example eximeebpms.connectors.shutdown-timeout becomes EXIMEEBPMS_CONNECTORS_SHUTDOWNTIMEOUT; server.port becomes SERVER_PORT. Use simple alphanumeric map ids with environment binding; use YAML/bracket notation for map keys whose punctuation must be preserved.

Named provider credentials can use EXIMEEBPMS_CONNECTORS_AIAGENT_PROVIDERS_DEFAULT_APIKEY for provider default. Connector secret placeholders have a separate lookup contract: {{secrets.ORDERS_TOKEN}} reads eximeebpms.connectors.secrets.ORDERS_TOKEN or exactly EXIMEEBPMS_CONNECTORS_SECRETS_ORDERS_TOKEN.

Durations below accept Spring duration syntax in deployment configuration, for example 30s/2m/30d. Element input durations use ISO-8601, such as PT30S. Data sizes accept units such as 1MB; numeric element size inputs are bytes. An unset property is not an instruction to pass the text null.

Runtime

Prefix eximeebpms.connectors:

PropertyDefaultMeaning
content-loggingfalseDEBUG payload logging on org.eximeebpms.connectors.runtime.content; may contain personal data
shutdown-timeout30sDrain running tasks with lock extension; allow another 15 seconds for MCP teardown
defaults.enabledtrueSubscribe connectors to their topics
defaults.max-concurrency16Concurrent tasks per connector
defaults.lock-duration1mInitial lock and repeated extension duration
connector.<id>.enabledInherit defaultsPer-id subscription override
connector.<id>.max-concurrencyInherit defaultsPer-id concurrency override
connector.<id>.lock-durationInherit defaultsPer-id lock override
secrets.<NAME>NoneNamed credential value; not ordinary input binding

Connector ids are http-json, ai-agent, ai-task, mcp-client and mcp-remote-client. Disabling one id does not disable a provider shared by other connectors. Model inputs retries/retryBackoff override execution retry defaults: three attempts, ten-second backoff for REST/MCP, thirty seconds for AI agent/task. Invalid/nonretryable input errors raise an incident immediately.

HTTP transport

Prefix eximeebpms.connectors.http is shared by REST, MCP HTTP and provider network clients:

PropertyDefaultMeaning
network-policy.allow[].hostEmptyExact host or *.domain allowed beyond public destinations
network-policy.allow[].cidrEmptyAllowed address/range; choose either host or CIDR in one entry
network-policy.deny[].hostEmptyAlways denied host/pattern, including public destinations
network-policy.deny[].cidrEmptyAlways denied address/range; deny wins over allow
max-response-size1MBREST response limit; an element may lower it, never raise it
ssl-bundleJVM trustNamed spring.ssl.bundle trust material
proxy.urlNoneHTTP proxy URL
proxy.username, proxy.passwordNoneBasic proxy credentials
proxy.non-proxy-hosts[]EmptyHosts/patterns reached directly and checked through destination DNS

Through a proxy, destination DNS is resolved at the proxy. The worker checks host entries/address literals, but the proxy must enforce the network policy on resolved destinations. A private-host allow entry is shared across all these clients; it is not a per-process permission. See the REST guide’s internal-address instructions.

Agent defaults and engine reads

Prefix eximeebpms.connectors.aiagent:

PropertyDefaultMeaning
default-context-window-size20Conversation window when absent from model inputs
default-max-model-calls10Agent instance model-call bound
default-task-max-model-calls3Single-shot task bound, including response corrections
agent-context-warning-size262144Warn above this JSON-text state size; includes tool definitions even with JDBC
engine-rest.base-urlClient URLAPI for cancellation/history checks
engine-rest.username, engine-rest.passwordClient authOptional paired basic-auth override
engine-rest.timeout30sBounds one engine REST response

Without a separate engine REST URL, the agent uses the external-task client’s URL, basic authentication and request interceptors. A separately configured origin does not receive the original client’s credentials/interceptors implicitly. Supply credentials deliberately and test its permissions.

Named providers

Prefix eximeebpms.connectors.aiagent.providers.<name>:

PropertyDefaultMeaning
typeRequiredopenai, anthropic, or registered custom provider type
modelRequiredProvider model name
api-keyRequired for built-insRuntime credential; keep outside BPMN
apiresponsesOpenAI API family; alternative chatCompletions
endpointVendor endpointRuntime API base URL override
temperature, top-pModel defaultOpenAI sampling controls; rejected by Anthropic
max-tokensProvider defaultAnthropic defaults to 4096
timeout10mWhole model-call timeout
optionsEmpty mapProvider-specific allowed native options

Read Providers for the option allow lists, inline-provider restrictions and secret boundaries. Unknown or incomplete named provider settings are warned about at startup; an agent that references an unusable provider raises an incident.

Memory, audit and JDBC

Prefix eximeebpms.connectors.aiagent:

PropertyDefaultMeaning
memory.jdbc.enabledfalseEnable store jdbc
memory.jdbc.retention30dRetain conversation after its process instance ends
audit.enabledfalsePersist worker turn/model audit
audit.content-levelmetadatacontent also records bounded prompts/results; agent can lower the level
audit.max-content-size4000Characters per recorded content item
audit.retention90dWorker audit retention
jdbc.schema-updatetrueMigrate at startup; false validates read-only
jdbc.table-prefixEXB_AGENT_A letter followed by letters, digits or underscores, at most 18 characters; normalized uppercase
jdbc.allow-in-memory-databasefalseExplicitly permit restart-volatile database storage
jdbc.erased-mark-retentionUnsetOptional maximum age of erasure marks; running processes may write again after expiry
jdbc.cleanup.enabledtruePeriodic retention/obsolete-version cleanup
jdbc.cleanup.interval1hCleanup interval

Configure spring.datasource.url, username, password and the required driver for persistent storage. No explicit data source and disabled JDBC features produce no embedded pool in the bundle. Schema tool command settings use EXIMEEBPMS_SCHEMA_*, not the worker’s property prefix.

Agent erasure is disabled by default. Set management.endpoint.aiagentdata.access explicitly and expose aiagentdata only behind authentication. Global Actuator access defaults do not enable it. The endpoint erases worker records/marks for selected process instances, not engine history; see JDBC Storage and Administration.

MCP

Prefix eximeebpms.connectors.mcp:

PropertyDefaultMeaning
max-message-size4MBMaximum inbound server message
timeout30sDefault positive request timeout
clients.<id>.typeRequiredstdio, http or sse
clients.<id>.commandNoneStdio program, allowed only in runtime configuration
clients.<id>.args[]EmptyProgram arguments
clients.<id>.envEmptyExtra subprocess environment; restricted inheritance
clients.<id>.urlNoneRemote MCP endpoint or SSE stream URL
clients.<id>.headersEmptyRemote HTTP headers
clients.<id>.timeoutMCP defaultPositive per-client override
clients.<id>.authentication.typenonenone, basic, bearer, apiKey, oauth2ClientCredentials
clients.<id>.authentication.username, .passwordNoneBasic credentials
clients.<id>.authentication.tokenNoneBearer token
clients.<id>.authentication.name, .valueNoneAPI-key header name/value
clients.<id>.authentication.oauth-token-endpointNoneOAuth token endpoint
clients.<id>.authentication.client-id, .client-secretNoneOAuth client credentials
clients.<id>.authentication.scopes, .audienceNoneOptional OAuth fields

Model inputs clientId, operation, tools.included/tools.excluded and remote transport.* are described under MCP Connectors. An element cannot configure a stdio command or override the worker’s maximum message size. Authentication and transport setup still obey shared destination restrictions.

Bundle and engine client

server.port defaults to 8090. The bundle exposes health, info and prometheus, with health probes enabled. Configure management access separately. The engine connection uses the engine external-task starter’s eximeebpms.bpm.client.*, including base URL, worker id and basic authentication. The bundle defaults to http://localhost:8080/engine-rest, HOSTNAME or eximeebpms-connectors as worker id, and async-response-timeout=10000 milliseconds. Use deployment-appropriate URLs and credentials instead of relying on localhost.