Hi guys, I'm trying to convert from using a single MQ server to
multiple ones backed by a postgres store but I'm not actually seeing a
message make it on the queue nor do I see any schema or data make it
into the database. The problem is there is no error output anywhere.
Also, please note that the message I'm putting and popping off the
queue works fine when just running
mq.pl with the defaults.
From my development box:
perl /usr/local/bin/
mq.pl --crash-cmd 'echo /tmp/crash.log' --stats --
storage dbi --front-store none --dbi-dsn
DBI:Pg:database=pocomq;hostname=127.0.0.1 --dbi-username pocomq --dbi-
password 12345 --pump-freq 1 --mq-id api1 --data-dir /tmp/perl_mq
After pushing a message, the log reads:
RECV (7): CONNECT :
RECV (7): SEND message B78A5174-58CB-11E1-9A26-3275048EC984 (17688
bytes) to /queue/emails (persistent: 1)
MASTER: Removing client 7
...
(nothing follows)
Starting from zero stats, sending a message, and turning on the
subscriber produced the following in stats.yml:
ID: 'POE::Component::MessageQueue version 0.2.12 (PID: 24501)'
generated: Thu Feb 16 14:04:55 2012
queues:
emails:
avg_secs_stored: 0
avg_size_recvd: 17688
sent: 0
stored: 0
subscriptions: 1
total_recvd: 1
total_sent: 0
total_stored: 0
subscriptions: 1
total_sent: 0
total_stored: 0
Also, the /tmp/crash.log is empty. Any help would be greatly
appreciated!