Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 80952 invoked from network); 25 Sep 2006 22:49:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 22:49:04 -0000 Received: (qmail 33801 invoked by uid 500); 25 Sep 2006 22:49:03 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 33784 invoked by uid 500); 25 Sep 2006 22:49:03 -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 33774 invoked by uid 99); 25 Sep 2006 22:49:03 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 15:49:03 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=chirino@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=chirino@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.92.173 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.92.173] ([66.249.92.173:46866] helo=ug-out-1314.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 9E/20-03290-CDC58154 for ; Mon, 25 Sep 2006 15:49:01 -0700 Received: by ug-out-1314.google.com with SMTP id 29so609390ugc for ; Mon, 25 Sep 2006 15:48:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=kLA/JRSRD7jb4lzfGdZmU0NMVJES/2vNzeMMJ0KxMwzhZxX4q23ouu/QGJFbGUNSZzOj66Lj6MudchAmOSX850IcyGxQKv4K0ZGAxFZixDkd976cfiCE91WCezqCbBxrKAxPA50oauo1aKU3CjpCllucftuOECRPZJrYtJMRVlI= Received: by 10.66.219.11 with SMTP id r11mr37815ugg; Mon, 25 Sep 2006 15:48:58 -0700 (PDT) Received: by 10.66.237.5 with HTTP; Mon, 25 Sep 2006 15:48:58 -0700 (PDT) Message-ID: Date: Mon, 25 Sep 2006 18:48:58 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: C# NMS client In-Reply-To: <6495629.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6493106.post@talk.nabble.com> <6493191.post@talk.nabble.com> <6494592.post@talk.nabble.com> <6495629.post@talk.nabble.com> X-Google-Sender-Auth: 00097eae17ee8c8d X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/25/06, Rob Lugt wrote: > > > MikeyBoy wrote: > > > > Hi Rob that's for the reply. Somehow I assumed NMS could be used as a > > stand-alone client. I looked at the ActiveMQ Windows binary and see it > > contains no DLLs, just JARs. So do I need to build an ActiveMQ DLL > > callable from .net? TIA, M > > > > Hi Mike > > No, the activemq-dotnet DLL contains two top-level namespaces: NMS and > ActiveMQ; I'm not sure of the rationale for this. If you view the DLL in The reason for the 2 namespaces is that the interfaces in NMS name space can be implemented by other messaging systems and is not ActiveMQ specific. The ActiveMQ namespace has our implementation of the interfaces in the NMS namespace. If you use an object factory that creates the initial ConnectionFactory for you, then your application code can stay decoupled from ActiveMQ since it only needs to use the interfaces in the NMS namespace. But that can be a little tricky to setup, so most folks just import the ConnectionFactory from activemq namespace directly. > VS.Net object browser you'll see all the namespaces it contains. > > You simply need to reference the DLL (which you're already doing I believe) > and include the line: > > using ActiveMQ; > > in your source. > > Hope this helps > Regards > ~Rob > > -- > View this message in context: http://www.nabble.com/C--NMS-client-tf2333701.html#a6495629 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com