Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 15146 invoked from network); 13 Nov 2008 11:49:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2008 11:49:25 -0000 Received: (qmail 88197 invoked by uid 500); 13 Nov 2008 11:49:32 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 88042 invoked by uid 500); 13 Nov 2008 11:49:31 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 87976 invoked by uid 99); 13 Nov 2008 11:49:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 03:49:31 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 13 Nov 2008 11:48:08 +0000 Received: (qmail 17133 invoked from network); 13 Nov 2008 11:48:50 -0000 Received: from 124.43.224.196 (HELO ?10.0.0.5?) (124.43.224.196) by relay03.pair.com with SMTP; 13 Nov 2008 11:48:50 -0000 X-pair-Authenticated: 124.43.224.196 Message-ID: <491C1423.1020204@apache.org> Date: Thu, 13 Nov 2008 17:18:51 +0530 From: "Asankha C. Perera" User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: dev@synapse.apache.org Subject: Re: Problem Running Sample 57 (Dynamic Load Balance) References: <558af1840811130231s3da31fbdwe467ede09082bb1b@mail.gmail.com> <491C04A6.1000908@apache.org> <558af1840811130316l3c5b1d66t66b1da074bc7e26e@mail.gmail.com> <558af1840811130341o5ae79d2xaf036877b33607f4@mail.gmail.com> In-Reply-To: <558af1840811130341o5ae79d2xaf036877b33607f4@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------090201060902030903040909" X-Virus-Checked: Checked by ClamAV on apache.org --------------090201060902030903040909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hiranya > I may have found one of the issues. In LoadBalanceFailoverClient the > 'To' value is not properly set. Currently it is being set as follows. > options.setTo(*new* EndpointReference(*"http://localhost:"* + synapsePort)); > But I think it should be set as follows. > options.setTo(*new* EndpointReference(*"http://localhost:"* + synapsePort + *"/services/LBService1"*)); > Looking at the SVN history this is how it used to be. It has been > changed recently though. Thoughts? Seems like a mistake.. asankha -- Asankha C. Perera http://adroitlogic.org http://esbmagic.blogspot.com --------------090201060902030903040909 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hiranya
I may have found one of the issues. In LoadBalanceFailoverClient the 'To' value is not properly set. Currently it is being set as follows.
options.setTo(new EndpointReference("http://localhost:" + synapsePort));
But I think it should be set as follows.
options.setTo(new EndpointReference("http://localhost:" + synapsePort + "/services/LBService1"));
Looking at the SVN history this is how it used to be. It has been changed recently though. Thoughts?
Seems like a mistake..

asankha
-- 
Asankha C. Perera
http://adroitlogic.org

http://esbmagic.blogspot.com
--------------090201060902030903040909--