We've received reports from the field that sometimes this lib returns a com.rabbitmq.client.impl.LongStringHelper$ByteArrayLongString. A lot of JRuby code doesn't know how to handle this since it doesn't extend String or any other common object.
I think the correct thing to do is to convert this to a RubyString. @michaelklishin what do you think?
The text was updated successfully, but these errors were encountered:
Long strings are a protocol "feature" and they are used in property tables (e.g. optional message headers). Sometimes those values are never exposed to March Hare, in others it'd have to coerce arbitrarily nested arguments.
@michaelklishin I'd much prefer the patch be done here, and am glad to submit a PR for that. The tricky thing from a user perspective is that ruby users are not expecting that object necessarily (which is my case).