Closed superbobry closed 13 years ago
Hi,
try this:
MQ.direct("foo.bar").publish({bar: "bar"}, "foo")
06.07.2011, 16:17, "superbobry" reply@reply.github.com:
Hello, can you please clarify what inputs are valid for
publish()
, I've been trying to send aString
and got:MQ.direct("foo.bar").publish("bar", "foo")
Connection Closing unexpectedly!,505,UNEXPECTED_FRAME - expected content body, got non content body frame instead
Reply to this email directly or view it on GitHub: https://github.com/dansimpson/amqp-js/issues/7
Thanks, I know this works. I just don't see a reason for this limitation -- why Object
s-only?
It's because of convenient way of parsing frame body on the server side.
08.07.2011, 11:49, "superbobry" reply@reply.github.com:
Thanks, I know this works. I just don't see a reason for this limitation -- why
Object
s-only?Reply to this email directly or view it on GitHub: https://github.com/dansimpson/amqp-js/issues/7#issuecomment-1530913
Dobro, thanks for handling that.
Hello, can you please clarify what inputs are valid for
publish()
, I've been trying to send aString
and got: