[ https://issues.apache.org/activemq/browse/AMQCPP-37?page=all ]
Timothy Bish resolved AMQCPP-37. -------------------------------- Resolution: Fixed Patch applied. I had to modify the Openwire Commands to reflect the new readUTF and writeUTF methods in BytesMessage. I also added testing for these methods into the Unit tests. > readUTF and writeUTF for BytesMessage > ------------------------------------- > > Key: AMQCPP-37 > URL: https://issues.apache.org/activemq/browse/AMQCPP-37 > Project: ActiveMQ C++ Client > Issue Type: New Feature > Components: CMS Impl > Reporter: Albert Strasheim > Assigned To: Timothy Bish > Fix For: 1.1 > > Attachments: readwriteutf.diff, readwriteutfv2.diff > > > It seems the existing writeString function doesn't allow one to send strings > to Java, as readUTF there expects a unsigned short (for length) followed by > string data (not null terminated). > With the attached patch applied, I am able to send strings between Java and > C++. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira