Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 40415 invoked from network); 10 Oct 2007 22:16:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 22:16:45 -0000 Received: (qmail 59239 invoked by uid 500); 10 Oct 2007 22:16:32 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 59209 invoked by uid 500); 10 Oct 2007 22:16:32 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 59200 invoked by uid 99); 10 Oct 2007 22:16:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 15:16:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirino@gmail.com designates 64.233.162.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 22:16:33 +0000 Received: by nz-out-0506.google.com with SMTP id z3so252285nzf for ; Wed, 10 Oct 2007 15:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received: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; bh=0XEX4xlTgCAFvZx9ID9juHszbZrDwSjWIl3MqsHQwZo=; b=PfUP0noJAhE+UrVxOKHwrsxq2M6OnhB5e3XRXSL/tTXo4n/uIgWwgWMmpZb6vtZ/p6miLOZXwXu8FKtUAN4y1xCtawxH6zVyj1Gb+fdf4kyjFxtJdDmH8imKylyfpyL/SoUFPPGV0d9mzzkhlMPziQoEawLdoBiQDFOlSB6jtRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; 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=Pd7GRJUsGOrnxDilei1KvtX/o2CSoXDUR3juaKSrjH4oV7ppPuel+Hv5SFeJqtC+8RySPQw7eMF733p9d0isGWEWiRCLfSUhyVe9DZ9GOojIiu36mWFDRPkF1bXGpgKCzDFpx++Ua7kIkxiOxmTsMJu1u8Pzib9sqs5gXakVTL8= Received: by 10.114.196.1 with SMTP id t1mr1342593waf.1192054571092; Wed, 10 Oct 2007 15:16:11 -0700 (PDT) Received: by 10.114.160.20 with HTTP; Wed, 10 Oct 2007 15:16:11 -0700 (PDT) Message-ID: Date: Wed, 10 Oct 2007 18:16:11 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: dev@activemq.apache.org Subject: Re: activemq: direct tcp connection In-Reply-To: <13141078.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13141078.post@talk.nabble.com> X-Google-Sender-Auth: 24cc5da9271a5d80 X-Virus-Checked: Checked by ClamAV on apache.org Hi Motl, Run an embedded broker on either the producer or the consumer or both. The client should use vm:// to the embedded broker. Then you setup a 'direct' connection from the producer process to the consumer or the other way around. On 10/10/07, Motl wrote: > > Hi, > > If I need direct TCP connection for performance reasons, but still want to > use JMS api, is it possible to do that in some way? > Sorry for unclear question, but in some cases I only need 1 producer and 1 > consumer and I want direct TCP connection between them. > If I could do it within activemq, less code will require changes on the > caller side. > > I am asking about both java and c++ implementations. > > Thank you. > -- > View this message in context: http://www.nabble.com/activemq%3A-direct-tcp-connection-tf4602430s2354.html#a13141078 > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com