Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 7464 invoked from network); 18 Mar 2009 19:00:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2009 19:00:06 -0000 Received: (qmail 5319 invoked by uid 500); 18 Mar 2009 19:00:05 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 5291 invoked by uid 500); 18 Mar 2009 19:00:05 -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 5280 invoked by uid 99); 18 Mar 2009 19:00:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 12:00:05 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 18:59:56 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lk0zH-0005Mn-SA for users@activemq.apache.org; Wed, 18 Mar 2009 11:59:35 -0700 Message-ID: <22586154.post@talk.nabble.com> Date: Wed, 18 Mar 2009 11:59:35 -0700 (PDT) From: Postol To: users@activemq.apache.org Subject: Re: Which types to use - org.apache.activemq namespace or javax.jms namespace In-Reply-To: <22565163.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ftpftp@centrum.cz References: <22565163.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Sorry for that stupid question:) - it is clear now. Postol wrote: > > Hello All, > > maybe it is a stupid question, but I am little bit confused, which objects > should be used, when I am developing clients, which will communicate with > ActiveMQ broker. > > I am not sure if I should use types from org.apache.activemq namespace or > from javax.jms namespace. > > I know, that javax.jms namespace is original jms implementation and am not > sure what happens if I use types from org.apache.activemq namespace (eg. > ActiveMQSession, ActiveMQQueue, ActiveMQTopicPublisher etc.). > > Which one should I use in client implementation? > > Is there any difference? I can see that types from org.apache.activemq > namespace have more members and methods that ones from javax.jms > namespace. Is it correct and safe to use all types from > org.apache.activemq namespace? > > Thanks and regards, > > Postol > -- View this message in context: http://www.nabble.com/Which-types-to-use---org.apache.activemq-namespace-or-javax.jms-namespace-tp22565163p22586154.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.