Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 40154 invoked from network); 28 Sep 2006 12:35:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 12:35:06 -0000 Received: (qmail 48162 invoked by uid 500); 28 Sep 2006 12:35:06 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 48039 invoked by uid 500); 28 Sep 2006 12:35:05 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 48030 invoked by uid 99); 28 Sep 2006 12:35:05 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 05:35:05 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=balajimravi@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_10_20,HTML_MESSAGE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.162.202] ([64.233.162.202:10236] helo=nz-out-0102.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 53/21-05478-D61CB154 for ; Thu, 28 Sep 2006 05:35:03 -0700 Received: by nz-out-0102.google.com with SMTP id v1so237963nzb for ; Thu, 28 Sep 2006 05:34:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=cibYRgG9IWNWQeH9wmwk3h5l84/Ef1Py1Gu8Ws1Cwst9LNDr+srAtnV0i0TfnoSDO3FBUi+s2SWMFphfkOmdFaR7nyBf25F8h55strV4QP/MChl7Nq2DQGB9oCpooL/PezdHuhlqx393ydwwUJaQzmHuWnD3uCn2ORM+NJJHEm4= Received: by 10.65.97.18 with SMTP id z18mr1763143qbl; Thu, 28 Sep 2006 05:34:31 -0700 (PDT) Received: by 10.64.213.11 with HTTP; Thu, 28 Sep 2006 05:34:30 -0700 (PDT) Message-ID: <4eedc3ad0609280534v58d01438qc140de8ed6c670fb@mail.gmail.com> Date: Thu, 28 Sep 2006 08:34:31 -0400 From: "Balaji Ravi" To: cxf-dev@incubator.apache.org Subject: Transport API (setMessageObserver) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_36857_854984.1159446871029" X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_36857_854984.1159446871029 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to write a custom transport & i have an issue with using the setMessageObserver to start my endpoint. I see that this method is the prime driver for starting & stopping an endpoint. According to the documentation, this method is for registering a message observer for incoming messages. But from the http transport, i see that this method is used to start the jetty engine & if null is passed to it, the endpoint is removed. Why can't we have two separate methods to do these 2 different functionality? Something like an activate/deactivate... - Balaji ------=_Part_36857_854984.1159446871029--