From users-return-30561-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Sat Mar 31 05:53:32 2012 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 64EFB929E for ; Sat, 31 Mar 2012 05:53:32 +0000 (UTC) Received: (qmail 74426 invoked by uid 500); 31 Mar 2012 05:53:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74255 invoked by uid 500); 31 Mar 2012 05:53:31 -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 74232 invoked by uid 99); 31 Mar 2012 05:53:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Mar 2012 05:53:30 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of lihuawei@live.cn does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Mar 2012 05:53:24 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SDrFH-0000XT-Dn for users@activemq.apache.org; Fri, 30 Mar 2012 22:53:03 -0700 Date: Fri, 30 Mar 2012 22:53:03 -0700 (PDT) From: Huawei To: users@activemq.apache.org Message-ID: <1333173183413-4521183.post@n4.nabble.com> Subject: Can I set property to message and still can get it when it is redelivered ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Can I set property to message and then call session.rollback(); when it is redelivered I try to get that property from the message. Actually I've tried this, it seems AMQ does not persist the changes I've made on message.. so I did not get the property I set. Is there a way that I can do that ? Thanks, -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-I-set-property-to-message-and-still-can-get-it-when-it-is-redelivered-tp4521183p4521183.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.