In some cases, you may want to delete all RabbitMQ resources that were created for your Studio Server installation, for example when noticing odd behavior in the integration and you want to exclude any data corruption.
Because most resources are re-created automatically, it is a matter of deleting the basic components and let Studio Server re-create them.
Step 1. Get hold of the Studio Server System ID:
Step 1a. Access the Health Check page.
Step 1. Click Advanced in the Maintenance menu or on the Home page.
Step 2. Click Health Check.
Step 1b. In the menu on the left, choose Config Overview.
Step 1c. Search for Studio Server System ID and copy it or take a note of it.
Step 2. Delete the Virtual Host in RabbitMQ:
Step 2a. Access the RabbitMQ Admin page.
Step 1. Click Integrations in the Maintenance menu or on the Home page.
Step 2. Click RabbitMQ.
Step 3. On the RabbitMQ page, click Admin.
Step 3a. In the menu on the right, choose Virtual Hosts.
Step 3b. Click the Virtual Host that matches the Studio Server System ID of Step 1.
Step 3c. Expand the Delete this vhost section.
Step 3d. Click Delete this virtual host.
The exchanges and queues related to the virtual host are deleted. These resources will be automatically re-created when users log on to Studio Server.
The users related to the virtual host will end up with no access at all. These authorizations will be repaired automatically when these users log on to Studio Server.
Step 4. (Optional, only when the user — as configured in the MESSAGE_QUEUE_CONNECTIONS option of configserver.php — has no access to the root Virtual Host "/" in RabbitMQ. When the user does have access, all RabbitMQ resources will be automatically recreated by Studio Server during the log on process). Perform the following steps:
Step 4a. Add a Virtual Host in RabbitMQ for Studio Server. For instructions, see Installing and configuring RabbitMQ.
Step 4b. Grant admin rights to the created virtual host. For instructions, see Installing and configuring RabbitMQ.
Step 4c. Log in again to Studio Server.