You are viewing the documentation for Blueriq 13. Documentation for other versions is available in our documentation directory.
Configuration
In order to enable this component, the following profile has to be enabled: external-flow
. The below example illustrates how the bootstrap.properties
file should look like:
spring.profiles.active=native,...,external-flow
The file application-external-flow.properties
must be available and should be configured as follows:
Subject | Property | Default | Explanation | Property file | Additional information |
---|---|---|---|---|---|
External Flow Component | blueriq.external-flow.store-type | memory | The data store type, having two possible values: memory and redis. memory is the default one. |
| |
blueriq.external-flow.redis-store.database | 0 | The Database index used by the connection factory. |
| ||
blueriq.external-flow.redis-store.host | localhost | The REQUIRED DNS name or IP address of the Redis server. |
| No default before 13.4 | |
blueriq.external-flow.redis-store.port | 6379 | The REQUIRED port on which to connect to Redis. |
| Default before 13.4: -1 | |
blueriq.external-flow.redis-store.ssl | false | Whether to enable SSL support |
| Since 13.4 | |
blueriq.external-flow.redis-store.password | The password used to connect to Redis, can be left empty if no password is required. |
| |||
blueriq.external-flow.redis-store.read-timeout-millis | 10000 | Timeout (ms) for read operations |
| Since 12.8 Removed in 13.4 | |
blueriq.external-flow.redis-store.connect-timeout-millis | 10000 | Timeout (ms) for connect operations |
| Since 12.8 Removed in 13.4 | |
blueriq.external-flow.redis-store.timeout | 2000 | Timeoud (ms) for connect and read operations |
| Since 13.4 | |
blueriq.external-flow.redis-store.client-name | Client name to be set on connections. Can be left empty. |
| |||
Redis pool configuration | blueriq.external-flow.redis-store.pool.maxIdle | 8 | Maximum number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections. |
| Removed in 13.4 |
blueriq.external-flow.redis-store.pool.minIdle | 0 | Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive. |
| Removed in 13.4 | |
blueriq.external-flow.redis-store.pool.maxActive | 8 | Maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit. |
| Removed in 13.4 | |
blueriq.external-flow.redis-store.pool.maxWait | -1 | Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely. |
| Removed in 13.4 | |
blueriq.external-flow.redis-store.jedis.pool.maxIdle | 8 | Maximum number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections. |
| Since 13.4 | |
blueriq.external-flow.redis-store.jedis.pool.minIdle | 0 | Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive. |
| Since 13.4 | |
blueriq.external-flow.redis-store.jedis.pool.maxActive | 8 | Maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit. |
| Since 13.4 | |
blueriq.external-flow.redis-store.jedis.pool.maxWait | -1 | Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely. |
| Since 13.4 | |
blueriq.external-flow.redis-store.jedis.pool.timeBetweenEvictionRuns | Time between runs of the idle object evictor thread. When positive, the idle object evictor thread starts, otherwise no idle object eviction is performed. Can be left empty. |
| Since 13.4 |
Example configuration file :
# The data store type, having two possible values: memory and redis. memory is the default one. blueriq.external-flow.store-type=redis # The Database index used by the connection factory. blueriq.external-flow.redis-store.database=0 # The REQUIRED DNS name or IP address of the Redis server. blueriq.external-flow.redis-store.host= # The password used to connect to Redis, can be left empty if no password is required. blueriq.external-flow.redis-store.password= # The REQUIRED port on which to connect to Redis. blueriq.external-flow.redis-store.port= ### Pool configuration ### # Maximum number of "idle" connections in the pool. # Use a negative value to indicate an unlimited number of idle connections. blueriq.external-flow.redis-store.pool.maxIdle=8 # Target for the minimum number of idle connections to maintain in the pool. # This setting only has an effect if it is positive. blueriq.external-flow.redis-store.pool.minIdle=0 # Maximum number of connections that can be allocated by the pool at a given time. # Use a negative value for no limit. blueriq.external-flow.redis-store.pool.maxActive=8 # Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted. # Use a negative value to block indefinitely. blueriq.external-flow.redis-store.pool.maxWait=-1
Please note that using a memory store type will make it impossible for you to start an external flow that resides on a different Runtime.
The other
blueriq.external-flow.redis-store*
properties will be ignored in this case.If redis data store is used and the properties for configuring the host and/or the port are missing, the Runtime will not start.