Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 93340 invoked from network); 29 Jan 2009 13:54:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2009 13:54:18 -0000 Received: (qmail 95823 invoked by uid 500); 29 Jan 2009 13:54:17 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95804 invoked by uid 500); 29 Jan 2009 13:54:17 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 95793 invoked by uid 99); 29 Jan 2009 13:54:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 05:54:17 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chubrilo@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 13:54:08 +0000 Received: by nf-out-0910.google.com with SMTP id g16so1398808nfd.16 for ; Thu, 29 Jan 2009 05:53:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=XWmog3+KQL96UEFdY+Z8ZBUlQm+U7YJ5LO74MY71zs0=; b=m6S+n5Vr6Wpug3EdmEolrEeRcTJjXyHL677jD8OlorQn38OLBd46sMklKSflPtz8OA 96oK5xCYw4DvL8ImQuypONvX4fWsTIL+mAeKOPnx55HTTImx7DYacdpNon10aF4ICLxI H3AvxAcWK1b318sLWaEmwf7FH5MdSsmuhnl8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=X7YBbMYCOgSGryoHAHna4Fygheq3+KP7Rw7C71o6nAxsVALOFopZmwD5j7j2mEa1fs UBilR2tpo7h+LHhN+2zBYzm06joitAg3ZZ2qGFk+3JiHYa6aKR3TMxHKkFbirvs600lU dPsYXtc397g2D0dDNzKiitSAneVGQeYeRARYs= MIME-Version: 1.0 Sender: chubrilo@gmail.com Received: by 10.103.49.12 with SMTP id b12mr48454muk.65.1233237226395; Thu, 29 Jan 2009 05:53:46 -0800 (PST) In-Reply-To: <21727046.post@talk.nabble.com> References: <21727046.post@talk.nabble.com> Date: Thu, 29 Jan 2009 14:53:46 +0100 X-Google-Sender-Auth: 1d1aa7f144e7b2e1 Message-ID: <36e91d9d0901290553t405f26c7ge9443bb701c038b6@mail.gmail.com> Subject: Re: Broker sends empty body in STOMP ObjectMessage (using jms-json transformation) From: Dejan Bosanac To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0016364d1fefcd977904619f6a78 X-Virus-Checked: Checked by ClamAV on apache.org --0016364d1fefcd977904619f6a78 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, is your SamplePojo properly annotated so it can be marshaled with XStream? Regards -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Jan 29, 2009 at 2:39 PM, mjustin wrote: > > Dear mailing list, > > my STOMP client receives ObjectMessage STOMP frames with the > transformation=jms-json header set, but with an empty body. > > In my test, a Java client sends object messages to the broker, specifying > jms-json transformation. > > The JAR file for the SamplePojo class, jettison and xstream are in the lib > folder. > > The admin console shows the object message with "transformation jms-json" > in > the property list, and "SamplePojo@6dd60e" in the message details. > > The Java client can also successfully read the object message back from the > broker. > > However, my STOMP client receives the message without any JSON content. In > my client, I have also included 'transformation=jms-json' to the SUBSCRIBE > frame as mentioned in http://activemq.apache.org/stomp.html > > This is the received message content: > > MESSAGE > redelivered:true > message-id:ID:acer-995304b6c9-1168-1233235401609-0:0:1:1:1 > transformation:jms-json > destination:/queue/TOOL.OBJECT.JSON > timestamp:1233235401968 > expires:0 > subscription:{D055D632-E777-48FE-9B18-1729457390F0} > priority:4 > > I have tried with ActiveMQ 5.1 and 5.2 > And have no more ideas what could be wrong. > > Best Regards > Michael Justin > > > > > -- > View this message in context: > http://www.nabble.com/Broker-sends-empty-body-in-STOMP-ObjectMessage-%28using-jms-json-transformation%29-tp21727046p21727046.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > --0016364d1fefcd977904619f6a78--