Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 10572 invoked from network); 25 Dec 2006 22:13:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Dec 2006 22:13:31 -0000 Received: (qmail 25481 invoked by uid 500); 25 Dec 2006 22:13:38 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 25361 invoked by uid 500); 25 Dec 2006 22:13:38 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 25352 invoked by uid 99); 25 Dec 2006 22:13:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Dec 2006 14:13:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Dec 2006 14:12:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 80AB1714057 for ; Mon, 25 Dec 2006 14:12:02 -0800 (PST) Message-ID: <9391086.1167084722509.JavaMail.root@brutus> Date: Mon, 25 Dec 2006 14:12:02 -0800 (PST) From: "Anonymous (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Updated: (AMQCPP-37) readUTF and writeUTF for BytesMessage In-Reply-To: <32180486.1167079022488.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-37?page=all ] Attachment: readwriteutfv2.diff > 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: Nathan Mittler > 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