Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 88839 invoked from network); 26 Nov 2010 14:50:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 14:50:56 -0000 Received: (qmail 74351 invoked by uid 500); 26 Nov 2010 14:50:55 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 74257 invoked by uid 500); 26 Nov 2010 14:50:54 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 74248 invoked by uid 99); 26 Nov 2010 14:50:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 14:50:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glahiru@gmail.com designates 74.125.82.66 as permitted sender) Received: from [74.125.82.66] (HELO mail-ww0-f66.google.com) (74.125.82.66) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 14:50:47 +0000 Received: by wwb34 with SMTP id 34so112205wwb.9 for ; Fri, 26 Nov 2010 06:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=U/LlB93QL70SpmSsU/9FGH5dIwfsLOURDT6sXIwGyPw=; b=vHdS/hsbaRdkIFKFZFUma6NnJBNDgCWydGAycCMuNMssghzE/DlV3kfQTTdXQf0Rxt m6rJjwbCSE6ghhb1fMRNuLKUxQ6Rzem3I99sebvqtu2pAcXJfg9HxmzgT1wob+qDzTTe 6biSKPnUKYZmzi65T1ttMjvMg/gWdS9rqD89g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eL3rSQu0nqH1MaJWKxkcndlOug+vo1ZyVrqSS5yqkWTNHBh5Rv3siU1+D3M2AR4lMW PtjkACTRxtl5kOPWPtYLKEmCQIV/7o/iI8agolol7YEoVgtCiL4RiNfNLBfiQaPUAo88 QW28Vb/cOTQf+BEmkPvyS0vA0RUSOdcUPUHFA= MIME-Version: 1.0 Received: by 10.216.191.215 with SMTP id g65mr264732wen.16.1290783026746; Fri, 26 Nov 2010 06:50:26 -0800 (PST) Received: by 10.216.3.211 with HTTP; Fri, 26 Nov 2010 06:50:26 -0800 (PST) In-Reply-To: References: Date: Fri, 26 Nov 2010 20:20:26 +0530 Message-ID: Subject: Re: How to handle large messages in Qpid Java client From: Lahiru Gunathilake To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=0016e659fd08ca94d40495f5d7cc X-Virus-Checked: Checked by ClamAV on apache.org --0016e659fd08ca94d40495f5d7cc Content-Type: text/plain; charset=ISO-8859-1 Hi Marnie, On Fri, Nov 26, 2010 at 6:23 PM, Marnie McCormack < marnie.mccormack@googlemail.com> wrote: > Hi Lahiru, > > There's a JIRA about this exception/issue - QPID-2902. > > Does it fail for you reliably ? I wonder if there's a timing issue here > since it didn't occur all the time on the CI instance. > +1, I noticed some of the messages were picked successfully. I think this is a timing issue comes due to large sizes of the messages. Lahiru > > Marnie > > On Fri, Nov 26, 2010 at 12:14 PM, Lahiru Gunathilake >wrote: > > > Hi Devs, > > > > When I consume a big message with 1MB file size and pick it from Qpid > > Queue, > > I am getting an error like this > > > > avax.jms.JMSException: Could not decode string data: > > java.nio.charset.MalformedInputException: Input length = 1
at > > > > > org.apache.qpid.client.message.JMSTextMessage.getText(JMSTextMessage.java:150) > > > > After debugging the code, I feel like this happen, due to a malformed > input > > stream coming for the client. > > > > Can I increase the frame-size of the client and get this message in to a > > single frame ? Is there any other solution to this error. > > > > Regards > > Lahiru > > > --0016e659fd08ca94d40495f5d7cc--