Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Short description around RabbitMQ usage in Digizuite. Important is to mention that you only want to change the RabbitMQ configuration if the customer specifically asks for it. 

...

Furthermore, setting the right user privileges for that vhost is also crucial. As an examle, you would need to do the two following steps to create a vhost and set privileges with the RabbitMQ CLI:
rabbitmqctl.bat add_vhost $uniqueDbName 
rabbitmqctl.bat set_permissions -p $uniqueDbName guest ".*" ".*" ".*"


Next step would then be to construct and provide your host connection string for rabbit to the Digizuite DAM Center and Digizuite Core Services

  1. A configurable rabbitmq connection string. Format is: host=localhost;username=guest;password=guest;virtualhost=uniqueDbName
  2. This must be set in two places
    1. DAM Center app settings in web.config.

      <appSettings>
            <add key="rabbitMqConnectionString" value="host=localhost;username=guest;password=guest;virtualhost=uniqueDbName" />
            ......
      </appSettings>

    2. Digizuite Core services appsettings.json (DC Path/DigizuiteCore/appsettings.json): 

      "RabbitMQ": {        
           "ConnectionString": "host=localhost;username=user;password=password;virtualhost=uniqueDbName"
      }

Troubleshooting

One thing to be aware of after the installation has been done is the connections in rabbit. Always make sure that you see the following connections in the management ui.

You want to see these two connections (if more as below it is also okay):

*.dam.core.subscriber 

*.dam.core.webhost.subscriber

Image Added

If you do not see these then you want to recycle the two highlighted:

Image Added


If RabbitMQ is not running then please try to restart the service by running following commands in command prompt (in the library C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.8\sbin) :

  1. rabbitmq-service.bat stop
  2. rabbitmq-service.bat install
  3. rabbitmq-plugins.bat enable rabbitmq_management
  4. rabbitmq-service.bat start