RemRem-Publish is configured via Spring/Java properties that can be provided as Java properties or via a Spring application.properties file. This page will describe which configuration and properties RemRem-Publish uses.
RemRem-Publish web-server port is set by setting property "server.port":
server.port=8080
In the example above RemRem-Publish will be started on port 8080 and accessed with address "http://hostname:8080". If RemRem-Publish is executed on same host as user accesses the RemRem-Publish service, then user can use the localhost address: "http://localhost:8080"
MessageBus(RabbitMq) connections is configured via property "rabbitmq.instances.jsonlist":
rabbitmq.instances.jsonlist=[{ "mp": "eiffelsemantics", "host": "127.0.0.1", "port": "5672", "virtualHost": "", "username": "guest", "password": "guest", "tls": "", "exchangeName": "amq.direct", "domainId": "eiffelxxx", "channelsCount": "1", "createExchangeIfNotExisting":true }, \
{ "mp": "eiffel3", "host": "127.0.0.1", "port": "5672", "virtualHost": "", "username": "guest", "password": "guest", "tls": "", "exchangeName": "amq.direct", "domainId": "eiffelxxx", "channelsCount": "1", "createExchangeIfNotExisting":true }]
"rabbitmq.instances.jsonlist" property can be configured with one or several Messagebus per Eiffel protocol/version, "mp" key in json list. Most common is that user have only one MessageBus which uses one specific Eiffel protocol version and the property should be configured with only one RabbitMq connection:
rabbitmq.instances.jsonlist=[{ "mp": "eiffelsemantics", "host": "127.0.0.1", "port": "5672", "virtualHost": "", "username": "guest", "password": "guest", "tls": "", "exchangeName": "amq.direct", "domainId": "eiffelxxx", "channelsCount": "1","createExchangeIfNotExisting":true }]
RemRem-Publish uses the RemRem-Generate service to generate Eiffel event contents. RemRem-Generate connection properties:
generate.server.uri=http://127.0.0.1:8080
generate.server.contextpath=/generate
"generate.server.uri" property is the url address to the RemRem-Generate service.
"generate.server.contextpath" property is the contextpath in RemRem-Generate web server, if it's configured with any context path. If RemRem-Generate web-server is not configured with any context path, then this property can be leaved empty or set to "/".
Logging levels is configured by properties:
logging.level.root=INFO
logging.level.org.springframework.web=INFO
logging.level.com.ericsson.eiffel.remrem.producer=INFO
All available RemRem-Publish properties can be found in application.properties example file.