Skip Menu |

This queue is for tickets about the POE-Component-Client-AMQP CPAN distribution.

Report information
The Basics
Id: 99518
Status: new
Priority: 0/
Queue: POE-Component-Client-AMQP

People
Owner: Nobody in particular
Requestors: LRUOSO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Username/Password requires Encode::encode as the Perl String
I had to do this to get authentication to work: my $mq_username = Encode::encode("ISO-8859-1", $config->mq_username); my $mq_password = Encode::encode("ISO-8859-1", $config->mq_password); my $mq = POE::Component::Client::AMQP->create ( RemoteAddress => $config->mq_remoteaddress, RemotePort => $config->mq_port, Username => $mq_username, Password => $mq_password, VirtualHost => $mq_virtualhost, Keepalive => $mq_keepalive, ) // 'Failed to connect to MQ'; I didn't check the source code, but as you have a home grow TCP protocol I'd bet it's not yet UTF-8 ready.