Skip to main content
Skip table of contents

Mre Microservice Configurations

Follow these steps to configure Mre Microservice;

  1. Stop EF_MreMicroservice service in Windows Services pane
  2. Navigate to <installation-dir>\hybrid-chat\core\mre-microservice 
  3. Open mre-microservice-variables.env for configurations
  4. Save the file after changes and start EF_MreMicroservice service in Windows Services pane
  5. Mre Microservice logs are generated at /EFLogs/chat-solution/mre-microservice/ directory

Configuration

Following table explains the parameters:


Configuration VariableDefault ValueExpected ValueLimitationsDescription
1PORT8447NumberApplicable only when ENABLE_SSL is true Port where Mre Microservice is hosted over HTTPS port
2HTTP_PORT8084NumberApplicable only when ENABLE_SSL is false Port where Mre Microservice is hosted over HTTP port
3DB_URLlocalhostString
Mongo DB url
4DB_PORT27017Number
Mongo DB port
5DB_USERmreUserString
Mongo DB user
6DB_PASSWORDExpertflow464String
Mongo DB password
7DB_NAMEmreString
Mongo DB database name
8DB_RECONNECT_INTERVAL500Number
Mongo DB reconnect delay when Mongo DB server is disconnected
9DB_RECONNECT_TRIES30Number
Number of connection reconnect tries when MongoDB server is disconnected
10DB_KEEP_ALIVE_TIME3000Number
Connection keepalive time in milliseconds with MongoDB
11ENABLE_MONGO_SSLfalseBoolean true / false 
Specifies if MongoDB connection should be over SSL
12MONGO_SSL_CERT_PATHhttps/mongo_cert.pemStringApplicable only when ENABLE_MONGO_SSL is true MongoDB client certificate path
13ALLOW_CORStrueBoolean true / false 
Allow CORS
14ENABLE_LOGStrueBoolean true / false Deprecated, Do not change
15ENABLE_CONFIGSfalseBoolean true / false Deprecated, Do not change
16LOG_FILE_PATH./mre-microservice.logStringDeprecated, Do not change
17LOG_LEVELinfoStringDeprecated, Do not change
18UMMhttps://localhost:8443String
Umm REST API endpoint
19UMM_USERNAMEadminString
Umm username
20UMM_PWDadmiN123!String
Umm password
21USER_TYPECCString

User type:

  • CC: Finesse Agents
  • DB: Umm Agents

This configuration should be same as USER_TYPE in Mre configuration

22AMQ_HOSTlocalhostString
ActiveMQ broker host path
23AMQ_PORT61615Number61615 for connection over SSL only when AMQ_SSL_ENABLED is true , 61613 otherwiseActiveMQ broker port. 
24AMQ_RETRIES30000Number
Number of retries if ActiveMQ server is inaccessible
25AMQ_USER
String
ActiveMQ user for broker
26AMQ_PASS
String
ActiveMQ password for broker
27AMQ_SSL_ENABLEDtrueBoolean true / false 
Enable / Disable SSL for ActiveMQ broker connection. true to enable, false otherwise
28AMQ_SSL_KEY_PATHhttps/client.keyStringApplicable only when AMQ_SSL_ENABLED is true ActiveMQ client certificate key path
29AMQ_SSL_CERT_PATHhttps/client.pemStringApplicable only when AMQ_SSL_ENABLED is true ActiveMQ client certificate path
30AMQ_SSL_PASSPHRASEpasswordStringApplicable only when AMQ_SSL_ENABLED is true ActiveMQ client certificate passphrase
31AMQ_SSL_CERT_AUTHORITY_PATHhttps/broker.pemStringApplicable only when AMQ_SSL_ENABLED is true ActiveMQ client certificate authority passphrase
32AMQ_QUEUEMreMicroserviceString
ActiveMQ queue name where Mre Microservice listens. Do not change
33RE_QUEUE_NAMERoutingEngineString
ActiveMQ queue where Mre listens. Do not change
34ENABLE_SSLtrueBoolean true / false 
Enable HTTPS if true .
35HTTPS_KEY_PATHhttps/localhost.keyStringApplicable only when ENABLE_SSL is true HTTPS server certificate key path
36HTTPS_CERT_PATHhttps/localhost.certStringApplicable only when ENABLE_SSL is true HTTPS server certificate path
37PASSPHRASE
StringApplicable only when ENABLE_SSL is true HTTPS server certificate passphrase
38CERT_BUNDLE_PATHhttps/mre-microservice.ca-bundleStringApplicable only when ENABLE_SSL is true Mre Microservice certificate trust store path
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.