Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F010E987C for ; Sun, 24 Jun 2012 13:43:03 +0000 (UTC) Received: (qmail 55918 invoked by uid 500); 24 Jun 2012 13:43:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 55888 invoked by uid 500); 24 Jun 2012 13:43:03 -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 55878 invoked by uid 99); 24 Jun 2012 13:43:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jun 2012 13:43:03 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tabish121@gmail.com designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qc0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jun 2012 13:42:56 +0000 Received: by qcsp15 with SMTP id p15so2382506qcs.16 for ; Sun, 24 Jun 2012 06:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references:content-type :x-mailer:content-transfer-encoding:mime-version; bh=6E7pRHmJ+CH5cJp88w9UnFoXQNlizUlc9NY3ujLtHd4=; b=rJLZmwfh9GYYzUIsDIIyCIvbt8szzVvl84XvthGINQzOMTMK/nbTQYNM/+ayE+Y6Lf R2i92qzyALQGwYsq2GLW806SxIy4/JeUpE5xFKwBBc8sO3hKHVgrBkLuZ3lBE+anRihU POozDrlTQJt226Q4C5mRLJ9RJQ6cQWDSaDiGItdt1WwwcwcKgOw8zFPWzpepEtv10aaU +C6CKbHKep1qbzdUtz2HMKq4VrshXqfn0hfhPeV83vBPpTV96ripaH2poyJTYSYlNwiR faTyYS6s3N/umqxaTdA3QnlVwgJdGVMFbx+goteOTLp1q1JQGcMPYtYcZ+stsoLhrnft MoGQ== Received: by 10.224.205.194 with SMTP id fr2mr16299658qab.66.1340545355614; Sun, 24 Jun 2012 06:42:35 -0700 (PDT) Received: from [192.168.2.150] (c-98-231-181-148.hsd1.va.comcast.net. [98.231.181.148]) by mx.google.com with ESMTPS id gv1sm8402595qab.8.2012.06.24.06.42.33 (version=SSLv3 cipher=OTHER); Sun, 24 Jun 2012 06:42:34 -0700 (PDT) Message-ID: <1340545353.2469.1.camel@OfficePC> Subject: Re: ActiveMQ 5.6 stomp object transformation From: Timothy Bish To: users@activemq.apache.org Date: Sun, 24 Jun 2012 09:42:33 -0400 In-Reply-To: <1340537568853-4653524.post@n4.nabble.com> References: <1340537568853-4653524.post@n4.nabble.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 On Sun, 2012-06-24 at 04:32 -0700, gpulido wrote: > Hello, > > I'm trying to send a message from a Stomp client to a embedded instance of > an ActiveMQ 5.6. > > The message is an xml representation of an object, so when I send it to the > queue using stomp I add the transformation keys to the header: > > "transformation:jms-object-xml" > > When I send the message the activeMQ acknowledges it but receives it as a > ActiveMQTextMessage instead of an ObjectMessage. So it seems that is > ignoring the transformation header. > > Using the same configuration, only changing the dependency from ActiveMQ 5.6 > to ActiveMQ 5.4.3 the same message using the same client and with the same > header worked: > The embedded activeMQ instance acknowledges the message and it is an > ObjectMessage instance, and all worked. > > I really need to move up to the 5.6 version, but I also need to be able to > send messages using the stomp client. > Anyone could help me to find what am I missing here? > > Thank you There are unit tests which are working fin for transformation so I'd suggest that you take a look at those and see if you can create a test case that demonstrate the scenario that is not working. Once you have you should open a Jira issue and attach your test case, this will ensure that someone can reproduce it when they look into the problem. > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-6-stomp-object-transformation-tp4653524.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Tim Bish Sr Software Engineer | FuseSource Corp tim.bish@fusesource.com | www.fusesource.com skype: tabish121 | twitter: @tabish121 blog: http://timbish.blogspot.com/