Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CF54CBFC for ; Mon, 20 Aug 2012 16:28:59 +0000 (UTC) Received: (qmail 66962 invoked by uid 500); 20 Aug 2012 16:28:58 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 66923 invoked by uid 500); 20 Aug 2012 16:28:58 -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 66913 invoked by uid 99); 20 Aug 2012 16:28:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 16:28:58 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of zackhasit@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 16:28:51 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T3Uq6-0005Lf-SP for users@activemq.apache.org; Mon, 20 Aug 2012 09:28:30 -0700 Date: Mon, 20 Aug 2012 09:28:30 -0700 (PDT) From: zackhasit To: users@activemq.apache.org Message-ID: <1345480110863-4655304.post@n4.nabble.com> Subject: Implementing Request Response mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I looked at http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html However I have a question on this. I have multiple clients and a servers. Each have their own local broker. Client needs to send message to server's broker and setJMSreply to it's own (client's) local broker. Idea being that receives by client and servers are done on their local brokers but sending is done to remote brokers. That way clients do not have to check responses from multiple server brokers in round robin manner. Example: 1. Client sends message to servers broker setting up response dest to be client's broker's ip client (IP:xx.xx.xx.xx) --------->server's broker(IP:yy.yy.yy.yy)--->server(IP:yy.yy.yy.yy) 2. Server responds back to client's local broker. client (IP:xx.xx.xx.xx) <----client' broker(IP:xx.xx.xx.xx)<---------server(IP:yy.yy.yy.yy) Is it possible today ? How is this achieved via code in example above? I don't want brokers to talk to each other because I would like to know when other side is down right away. Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/Implementing-Request-Response-mechanism-tp4655304.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.