Queries related to rabbitmq plugin

28 views
Skip to first unread message

Akshaya

unread,
Jun 18, 2018, 2:57:38 AM6/18/18
to Repo and Gerrit Discussion
Hi,

I would like to configure 2 exchanges as below in Gerrit RabbitMQ plugin.

[exchange]
   name = exch1
   name = exch2

When a trigger occurred, message must be passed to two exch and queue as above. but the above setup is working only for the exch2
How this can be done?

Thanks & Regards,
Akshaya

Gustaf Lundh

unread,
Jun 18, 2018, 3:56:49 AM6/18/18
to Akshaya, Repo and Gerrit Discussion

Split your configuration into one file for every exchange and place in: $site_path/data/rabbitmq/site.


See:

https://gerrit.googlesource.com/plugins/rabbitmq/+/refs/heads/master/src/main/resources/Documentation/config.md


/Gustaf


From: repo-d...@googlegroups.com <repo-d...@googlegroups.com> on behalf of Akshaya <nach...@gmail.com>
Sent: Monday, June 18, 2018 8:57 AM
To: Repo and Gerrit Discussion
Subject: Queries related to rabbitmq plugin
 
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Akshaya

unread,
Jun 20, 2018, 12:04:47 AM6/20/18
to Repo and Gerrit Discussion
Hi,

Thank you. Could you please also let me know how the "site" file must look?

I have created site file in the mentioned directory as below:
$site_path/data/rabbitmq/site
site1.config
site2.config

Whereas site1.config and site2.config exist in this directory $site_path/data/rabbitmq/

Also in the log could find site file is not at all detected.

WARN  com.googlesource.gerrit.plugins.rabbitmq.Manager : No site configs found. Using base config only!

Have reloaded the plugin after new changes. Please let me know how to fix this issue.

Thanks & Regards,
Akshaya

David Pursehouse

unread,
Jun 20, 2018, 12:12:38 AM6/20/18
to Akshaya, Repo and Gerrit Discussion
On Wed, Jun 20, 2018 at 1:04 PM Akshaya <nach...@gmail.com> wrote:
Hi,

Thank you. Could you please also let me know how the "site" file must look?

"site" should be a directory, not a file.
 

I have created site file in the mentioned directory as below:
$site_path/data/rabbitmq/site
site1.config
site2.config

Whereas site1.config and site2.config exist in this directory $site_path/data/rabbitmq/


The .config files must be in the site folder.
 
Also in the log could find site file is not at all detected.

WARN  com.googlesource.gerrit.plugins.rabbitmq.Manager : No site configs found. Using base config only!

Have reloaded the plugin after new changes. Please let me know how to fix this issue.


Thanks & Regards,
Akshaya




On Monday, June 18, 2018 at 12:27:38 PM UTC+5:30, Akshaya wrote:
Hi,

I would like to configure 2 exchanges as below in Gerrit RabbitMQ plugin.

[exchange]
   name = exch1
   name = exch2

When a trigger occurred, message must be passed to two exch and queue as above. but the above setup is working only for the exch2
How this can be done?

Thanks & Regards,
Akshaya

Akshaya

unread,
Jun 20, 2018, 2:53:58 AM6/20/18
to Repo and Gerrit Discussion
Thank you. This worked

Regards,
Akshaya

On Monday, June 18, 2018 at 12:27:38 PM UTC+5:30, Akshaya wrote:
Reply all
Reply to author
Forward
0 new messages