Previous Next JavaScript must be enabled to correctly display this content

## 17 Oracle Banking Routing Hub VM Arguments

This topic provides information about Oracle Banking Routing Hub VM arguments.

Common Core Managed Server

`-Dcmc-obrh-services.server.port=<SERVER_PORT>`
`-Dobrh.db.jndi=<CMNCORE_JNDI>`
`-Dcmc-obrh-services.oic.oauth.scope=<OIC_OAUTH_SCOPE>`
`-Dcmc-obrh-services.oic.secretStore.url=<OIC_SECRET_STORE_URL>`
`-Dcmc-obrh-services.oic.idcs.url=<OIC_IDCS_URL>`
`-Dcmc-obrh-services.audit.retention.days=<AUDIT_RETENTION_POLICY_DAYS>`
`-Dcmc-obrh-services.audit.retention.archival=<AUDIT_RETENTION_POLICY_APPROACH>`
(Y for archiving and N for purging)

To receive routing failure mail notification via plato-alerts-management-service, then set the following property to true, (Default value is false)

`-Dobrh.alerts.enabled=<ALERTS_ENABLED>`

In order to change the behavior of auditing, then set the below property from predefined values (DEFAULT / KAFKA / LOG / OFF), (Default value is DEFAULT)

`-Dobrh.audit.type=<AUDIT_TYPE>`

Note:

For KAFKA option, cmc-obrh-kafka-consumer service needs to be deployed.
In order to configure connection pooling,

`
-Dobrh.rest.connectionpool.enabled=true
-Dobrh.rest.connectionpool.totalConnectionCount=<TOTAL_CONNECTION_COUNT> default is 20)
-Dobrh.rest.connectionpool.maxConnectionCountPerRoute=<MAX_CONNECTION_COUNT> (default is 2)
-Dobrh.rest.connectionpool.timeToLive.ms=<TIME_TO_LIVE> (default is -1)
`

Note:

Connection count should be based on the number of requests processed simultaneously and average time to handle the request.
In order to overwrite the customization that is not part of configuration JSON,

`-Dobrh.import.overwrite=<IMPORT_OVERWRITE>` (Default value is false)

To use Custom Keystore and Truststore for HTTPS scheme,

`-Dobrh.keystore.password.encoded=<IS_PASSWORD_ENCODED>` (true, if password is base 64 encoded)
`-Dobrh.truststore.path=<TRUSTSTORE_PATH>
-Dobrh.truststore.password=<TRUSTSTORE_PASSWORD>
-Dobrh.usekeystore=<USE_KEYSTORE>` (true, if keystore is required along with truststore)
`-Dobrh.keystore.path=<KEYSTORE_PATH> -Dobrh.keystore.password=<KEYSTORE_PASSWORD>
-Dobrh.keystore.alias=<KEYSTORE_ALIAS>
-Dobrh.keystore.aliaspassword=<KEYSTORE_ALIAS_PASSWORD>
-Dobrh.ssl.protocol=<SSL_PROTOCOL>` (Default value is TLS)

To perform the tomcat deployment,

`-Dobrh.server.isJavaEE=false (mandatory)
-Dobrh.taskexecutor.corepoolsize=<CORE_POOLSIZE>` (default is 50) (optional)
`-Dobrh.taskexecutor.maxpoolsize=<MAX_POOLSIZE>` (default is 50) (optional)
`-Dobrh.taskexecutor.queuecapacity=<QUEUE_CAPACITY>` (default is 100) (optional)

To set Proxy settings for HTTPS,

`-Dhttps.proxyHost=<PROXY_HOST_NAME>
-Dhttps.proxyPort=<PROXY_PORT>
-Dhttps.nonProxyHosts=<NON_PROXY_HOST_LIST>
-Dhttp.nonProxyHosts=<NON_PROXY_HOST_LIST>`

Note:

As per the Java Networking documentation, HTTPS protocol handler uses the same as the http handler (http.nonProxyHosts). in case of Weblogic, http.nonProxyHosts do not work for some reason. So, use https non proxy host argument (https.nonProxyHosts).

To set logger level,

`- Dplato.service.logging.level=`

To do SSL based SOAP provider calls and if RoutingHub is deployed on weblogic environment,

`-DUseSunHttpHandler=true`

Note:

This property will enforce WebLogic Server to use SUN SSL implementation (javax package) rather than the WebLogic one.

Plato Core Managed Server

Oracle Banking Routing Hub is using Multipart for Import feature. By default, spring supports max 1MB file size and 10MB request size for Multipart.

To import bigger files,

`plato-api-gateway.multipart.max-file-size=<MAX_FILE_SIZE>` (default is 1MB)
`plato-api-gateway.multipart.max-request-size=<MAX_REQUEST_SIZE>` (default is 10MB)

Note:

-1 for no size constraint
Example,

plato-api-gateway.multipart.max-file-size=-1
plato-api-gateway.multipart.max-request-size=-1

CMC-OBRH-KAFKA-CONSUMER

`-Dcmc-obrh-kafka-consumer.server.port=<SERVER_PORT>`