mmpd/messaging-service
Database connections
| Name | Required | Defaults to | Description |
|---|---|---|---|
PERSISTENCECONFIGURATION__DATABASETYPE |
Yes |
- |
Database type used by service |
PERSISTENCECONFIGURATION__CONNECTIONSTRING |
Yes |
- |
Connection string to database |
PERSISTENCECONFIGURATION__DATABASE_TLS_ENABLED |
No |
false |
Enable/Disable TLS |
RabbitMq settings
| Name | Required | Defaults to | Description |
|---|---|---|---|
MESSAGINGENABLED |
Yes |
true |
Toggle for enabling publishing CRUD database events into message broker. |
MESSAGING__CONNECTOR__HOSTNAME |
Yes |
mdmRabbitMqConnector |
Hostname for RabbitMq connector. |
MESSAGING__CONNECTOR__PORT |
Yes |
5672 |
Port of RabbitMq connector. |
MESSAGING__CONNECTOR__VIRTUALHOST |
Yes |
- |
Virtual host of RabbitMq connector. |
MESSAGING__CONNECTOR__USERNAME |
Yes |
- |
Username for user of RabbitMq connector. |
MESSAGING__CONNECTOR__PASSWORD |
Yes |
- |
Password for user of RabbitMq connector. |
MESSAGING__CONNECTOR__SSLENABLED |
No |
false |
Toggle for enabling SSL communication with broker. |
MESSAGING__CONNECTOR__SSLVERSION |
No |
Tls12 |
Version type for SSL communication. |
MESSAGING__MESSAGEPROVIDER__MESSAGESENDER |
Yes |
- |
The message sender URL. |
MESSAGING__PUBLISHER__EXCHANGE__NAME |
Yes |
- |
The name of broker exchange that the messages would be sent to. |
MESSAGING__PUBLISHER__EXCHANGE__TYPE |
Yes |
Topic |
The type of broker exchange that the messages would be sent to. |
MESSAGING__PUBLISHER__EXCHANGE__DECLAREPASSIVE |
No |
false |
Declares the exchange if it’s not yet present on the broker |
MESSAGING__CUSTOMPARAMETERS__RETRYLIMIT |
No |
3 |
Number of retries to send a message |
MESSAGING__CUSTOMPARAMETERS__RETRYINTERVAL |
No |
10 |
Delay in seconds between retries |
MESSAGING__CUSTOMPARAMETERS__OUTBOXBATCHSIZE |
No |
1000 |
The number of items to be published to the message broker in one batch |
MESSAGING__CUSTOMPARAMETERS__OUTBOXPOLLINGINTERVAL |
No |
1000 |
Time interval in milliseconds to check for new messages to be sent |
MESSAGING__CUSTOMPARAMETERS__OUTBOXCLEANUPINTERVAL |
No |
60 |
Time interval in seconds to check for sent messages that need to be cleaned up |
MESSAGING__CUSTOMPARAMETERS__OUTBOXMESSAGERETENTION |
No |
300 |
Time interval in seconds to keep the sent messages in the outbox db table. This can help diagnose problems as you can confirm whether a certain message has been sent or not |
Macma settings
| Name | Required | Defaults to | Description |
|---|---|---|---|
OIDC__SERVICEURL |
Yes |
{macma_module_url} |
MACMA’s Service Url |
OIDC__CLIENTID |
Yes |
- |
MDM client-id |
OIDC__CLIENTSECRET |
Yes |
- |
MDM client secret |
OIDC__NAMEDHTTPCLIENTS__CLIENTS__MACMACLIENT__TOKENENDPOINT |
Yes |
{macma_module_url}/access-management/v1/tenants/{nexeedMacmaTenant0Id}/openid-connect/token |
Token endpoint for macma client |
OIDC__NAMEDHTTPCLIENTS__CLIENTS__MACMACLIENT__SCOPES__0 |
Yes |
aud:macma |
Audience for macma client |
OIDC__NAMEDHTTPCLIENTS__CLIENTS__PORTALCLIENT__TOKENENDPOINT |
Yes |
{macma_module_url}/access-management/v1/tenants/{nexeedMacmaTenant0Id}/openid-connect/token |
Token endpoint for portal client |
OIDC__NAMEDHTTPCLIENTS__CLIENTS__PORTALCLIENT__SCOPES__0 |
Yes |
aud:{portal_client_id} |
Audience for portal client |
OIDC__NAMEDHTTPCLIENTS__CLIENTS__MACMACLIENT__SCOPES__1 |
Yes |
openid |
Openid scope required for macma client |
OIDC__NAMEDHTTPCLIENTS__CLIENTS__PORTALCLIENT__SCOPES__1 |
Yes |
openid |
Openid scope required for portal client |