Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 69643 invoked from network); 11 Aug 2007 17:45:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Aug 2007 17:45:25 -0000 Received: (qmail 15319 invoked by uid 500); 11 Aug 2007 17:45:23 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 15292 invoked by uid 500); 11 Aug 2007 17:45:23 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 15283 invoked by uid 99); 11 Aug 2007 17:45:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 10:45:23 -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 jasnell@gmail.com designates 209.85.198.191 as permitted sender) Received: from [209.85.198.191] (HELO rv-out-0910.google.com) (209.85.198.191) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 17:45:21 +0000 Received: by rv-out-0910.google.com with SMTP id k20so994688rvb for ; Sat, 11 Aug 2007 10:45:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=AMX4P3dRtTbTgLlis8vmppTzLCIQrXAOV9Mgmk4649nRmcI1k8HCEYgxsJdPaVbikdYMcdTgIFXW1aYfUfIbT8SKre5t1+D+bXvXjirKcQr0GNAiCzYX1Wa1ZeHzYdKDqB5PVrl2DuBKlQVD8pMtKQxRAH1PgVrhpfvbsqoZ7+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=AV1C2Ki3sjy8za1On9s2yGiWaLq7FuFcOJ/3Rka7tDEYdAikuplsEB0TEKwblXmZGySxX5oJIl3ioQ1u3rNyCVBjPjLzblZ5/fniQUxW9KYE1fKS2XThM6JcwgIb1e0UzuDcnMlbg+AXJ1Jv3IP19U6yQgQ4xyUVsXLU1NcU1O4= Received: by 10.141.48.10 with SMTP id a10mr1450457rvk.1186854301398; Sat, 11 Aug 2007 10:45:01 -0700 (PDT) Received: from ?192.168.1.108? ( [67.181.218.96]) by mx.google.com with ESMTPS id k14sm7633313rvb.2007.08.11.10.44.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Aug 2007 10:45:00 -0700 (PDT) Message-ID: <46BDF59A.3000407@gmail.com> Date: Sat, 11 Aug 2007 10:44:58 -0700 From: James M Snell User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: [jira] Updated: (ABDERA-56) Spring Integration References: <340154.1186854103147.JavaMail.jira@brutus> In-Reply-To: <340154.1186854103147.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Since I changed my mind after you had already gone through the trouble of merging it into the server module I'll take care of the ant stuff :-) - James Dan Diephouse (JIRA) wrote: > [ https://issues.apache.org/jira/browse/ABDERA-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Dan Diephouse updated ABDERA-56: > -------------------------------- > > Attachment: spring-module.patch > > This is the spring stuff I wrote included as a separate module. I didn't have time to do the ant stuff today, so someone else may have to do that or I'll revisit sometime soon. > >> Spring Integration >> ------------------ >> >> Key: ABDERA-56 >> URL: https://issues.apache.org/jira/browse/ABDERA-56 >> Project: Abdera >> Issue Type: New Feature >> Reporter: Dan Diephouse >> Fix For: 0.3.0 >> >> Attachments: spring-module.patch, spring-server.patch, spring.patch >> >> >> I've written a spring module for Abdera which providers an AbderaServlet which works with Spring as well as some XML parsers. With this creating an Abdera Provider becomes as simple as this: >> >> >> >> >> >> >> >> >> /atom/feed(\\?[^#]*)? >> /atom/feed/([^/#?]+)(\\?[^#]*)? >> /atom(\\?[^#]*)? >> >> >> >> >> >> >> The only code you need to write then is the TestProvider class. >> This patch does make two other changes. >> 1. It modifies the Resolver interface to add a initializeContextPath(String context) method. This makes it so you can create target resolvers and not have to worry about the context path when you initialize it - Abdera will just initialize it later. I'm not sure that what I came up with is the best way to do that though. Any other suggestions? Maybe Resolver.resolve should take contextPath as a parameter? Maybe the request URI should come without the context path in it? >> 2. Uses the correct groupId for Woodstox in MAven >