Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 73708 invoked from network); 24 May 2006 02:04:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2006 02:04:13 -0000 Received: (qmail 67489 invoked by uid 500); 24 May 2006 02:04:13 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 67469 invoked by uid 500); 24 May 2006 02:04:12 -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 67460 invoked by uid 99); 24 May 2006 02:04:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 19:04:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.14.253.182] (HELO mail.exist.com) (64.14.253.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 19:04:12 -0700 Received: from [192.168.241.171] ([58.71.13.194]) (authenticated bits=0) by mail.exist.com (8.12.11/8.12.11) with ESMTP id k4O2MiO7015942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 23 May 2006 19:22:49 -0700 Message-ID: <4473BF0B.3070709@exist.com> Date: Wed, 24 May 2006 10:03:55 +0800 From: Adrian Co User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: activemq-users@geronimo.apache.org Subject: Re: ActiveMQOutputStream question References: <4524837.post@talk.nabble.com> In-Reply-To: <4524837.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, You could try using ActiveMQConnection.createOutputStream(...); Hope this helps. :) Regards, Adrian Co new amq user wrote: >Hi, > >I need help in making stream messages. > >Looking at the source, the constructor signature for the >ActiveMQOutputStream is: > >public ActiveMQOutputStream(ActiveMQConnection connection, ProducerId >producerId, ActiveMQDestination destination, > Map properties, int deliveryMode, int priority, long timeToLive) > >Seems easy enough, but how is one supposed to come up with the ProducerId >object? (given that I have a producer that I think I should be using, the >api has no way for me to get the ProducerId of the producer I already have) > >I'm assuming that the validity of that object is important to the >functioning of the entire set up. > >Thanks, > >Esa > >-- >View this message in context: http://www.nabble.com/ActiveMQOutputStream+question-t1669524.html#a4524837 >Sent from the ActiveMQ - User forum at Nabble.com. > > >