[Koha-bugs] [Bug 26742] Add configuration for message broker

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 20 03:36:58 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26742

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Test plan:

1. Apply the patch
2. koha-plack --restart kohadev
3. Go to http://localhost:8081/cgi-bin/koha/about.pl and check "Message broker"
status says "running"
4. Edit /etc/koha/sites/kohadev/koha-conf.xml
5. Add the following:
<message_broker>
    <hostname>localhost</hostname>
    <port>61613</port>
    <username>guest</username>
    <password>guest</password>
    <vhost></vhost>
</message_broker>
6. echo 'flush_all' | nc -q 1 memcached 11211
7. koha-plack --restart kohadev
8. Go to http://localhost:8081/cgi-bin/koha/about.pl and check "Message broker"
status says "running"
9. Edit /etc/koha/sites/kohadev/koha-conf.xml
10. Change message broker config to the following:
<message_broker>
    <hostname>badname</hostname>
    <port>40000</port>
    <username>guest</username>
    <password>guest</password>
    <vhost></vhost>
</message_broker>
11. echo 'flush_all' | nc -q 1 memcached 11211
12. koha-plack --restart kohadev
13. Go to http://localhost:8081/cgi-bin/koha/about.pl and check "Message
broker" status says "connection failed"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list