Subject: | could you include my simple patch to support SSL? |
Date: | Wed, 5 Dec 2012 11:52:16 -1000 |
To: | bug-AnyEvent-RabbitMQ [...] rt.cpan.org |
From: | Julio Polo <julio [...] hawaii.edu> |
I noticed that AnyEvent::RabbitMQ has been forked, so maybe I will
now get an answer from the person who took over (bobtfish).
I was wondering if you could include this simple patch to enable SSL:
https://www.hawaii.edu/bwiki/download/attachments/230228663/RabbitMQ-tls.patch
I've received several inquiries about making it official. The patch
allows me to do add a 'tls' option when connecting:
$ar = AnyEvent::RabbitMQ->new->load_xml_spec()->connect
(
'tls' => 1,
'host' => ...
)
And maybe you can also include a patch similar to this one:
https://www.hawaii.edu/bwiki/download/attachments/230228663/RabbitMQ-Channel-args.patch
which I'm currently using to pass values to the header to make
messages persistent:
$channel->publish
(
exchange => $exchange_name,
routing_key => $routing_key,
body => $body,
# this requires our patch to AnyEvent::RabbitMQ::Channel.pm
header => { 'delivery_mode' => 2 }, # make messages persistent
);
If you want more context for this, see our download page:
https://www.hawaii.edu/bwiki/display/UHIAM/Download
Thanks!
Julio Polo
Identity and Access Management
Information Technology Services
University of Hawaii
julio.polo@hawaii.edu