There are a lot of fingers that ActiveMessaging has in here, so we will have to do some cleanup, but something that was causing me a few issues we figured out today was with the way the serializing of objects and placing in the queue as TextMessages was getting a bit out of whack when we converted some of the publishing models of ActiveMessaging to the sending of the message via JMS.
The serialization (which we are using Marshal dump/load for the ruby objects) was becoming an instance of TextMessageImpl (
Java::ComSunMessagingJmqJmsclient::TextMessageImpl
).Simply pulling the text out of this on the jruby side fixed for us:
message = deserialize(message.getText())
and the deserialization worked ok.
No comments:
Post a Comment