Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 58932 invoked from network); 6 Oct 2006 15:12:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 15:12:29 -0000 Received: (qmail 97165 invoked by uid 500); 6 Oct 2006 15:12:28 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 97143 invoked by uid 500); 6 Oct 2006 15:12:28 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 97134 invoked by uid 99); 6 Oct 2006 15:12:28 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 08:12:28 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=picoflorin@yahoo.co.uk; domainkeys=good X-ASF-Spam-Status: No, hits=3.9 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_MESSAGE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [217.146.177.45] ([217.146.177.45:39318] helo=web26213.mail.ukl.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 9A/63-24193-55276254 for ; Fri, 06 Oct 2006 08:12:23 -0700 Received: (qmail 46433 invoked by uid 60001); 6 Oct 2006 15:12:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sRJt7VWGOIvizxdYZS0n7DBPTXOEU7sCWacSqI8uzvownPs5xr715vQeuc6EeEU2Y8WWaSoPmcvqxsNwfk3H3dDE5t8eeJFNxeN2CtbUXLYwopdzUDLnSc0y91Plw2LP7dzfO9IeYc/jxmHzd04O/DYVlrVweT4XOXdrf+gq1Hw= ; Message-ID: <20061006151215.46431.qmail@web26213.mail.ukl.yahoo.com> Received: from [86.121.29.145] by web26213.mail.ukl.yahoo.com via HTTP; Fri, 06 Oct 2006 16:12:15 BST Date: Fri, 6 Oct 2006 16:12:15 +0100 (BST) From: Pico Florin Subject: Re: Setting the Delivery Mode for a message To: activemq-users@geronimo.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-268638334-1160147535=:45258" Content-Transfer-Encoding: 8bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-268638334-1160147535=:45258 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit So, shoul I understand that setDeliveryMode(int) for the Message sets the delivery mode for the message object by taking the delivery mode from the Producer doesn't it? James Strachan wrote: On 10/6/06, Pico Florin wrote: > Thank you very much Rob! It works! I don't know what is the sense of the method > setJMSDeliveryMode() in the Message interface if it hasn't any effect or how it can be used? Its used by the JMS provider. see http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html#setJMSDeliveryMode(int) -- James ------- http://radio.weblogs.com/0112098/ --------------------------------- Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. --0-268638334-1160147535=:45258--