[rabbitmq-discuss] Having trouble connecting via jInterface

peckb brian.peck at lmco.com
Wed Nov 11 16:51:39 GMT 2009


Ah, excelent! That did do the trick. It also worked for all of the other
methods where sending in an OtpErlangBinary wasn't working [most all of
them].  The OtpErlangAtom(s) that I have (for making info_all only return
the data I want) were still ok being pure strings at construction.  Thanks
again.


Matthew Sackman wrote:
> 
>> 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
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 

-- 
View this message in context: http://old.nabble.com/Having-trouble-connecting-via-jInterface-tp25866384p26304593.html
Sent from the RabbitMQ mailing list archive at Nabble.com.





More information about the rabbitmq-discuss mailing list