[rabbitmq-discuss] Having trouble connecting via jInterface

Matthew Sackman matthew at lshift.net
Tue Nov 10 15:28:02 GMT 2009


> On Mon, Nov 09, 2009 at 09:13:30AM -0800, peckb wrote:
> > OtpErlangObject [] objectArray = { new OtpErlangBinary("/") };

Matthias has spotted that this is wrong - called that way, the object
will be serialized. Thus you're ending up with a weird non existing
vhost. Instead, you want OtpErlangBinary("/".toBytes())

Matthew




More information about the rabbitmq-discuss mailing list