Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 44891 invoked from network); 20 Aug 2007 14:55:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2007 14:55:54 -0000 Received: (qmail 83504 invoked by uid 500); 20 Aug 2007 14:55:49 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 83464 invoked by uid 500); 20 Aug 2007 14:55:49 -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 83439 invoked by uid 99); 20 Aug 2007 14:55:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 07:55:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 14:55:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 41ED0714213 for ; Mon, 20 Aug 2007 07:55:31 -0700 (PDT) Message-ID: <23564341.1187621731267.JavaMail.jira@brutus> Date: Mon, 20 Aug 2007 07:55:31 -0700 (PDT) From: "Dan Diephouse (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Commented: (ABDERA-56) Spring Integration In-Reply-To: <6111626.1186689702547.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ABDERA-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521113 ] Dan Diephouse commented on ABDERA-56: ------------------------------------- Was just wondering - are there still plans to integrate this into Abdera? (Not trying to rush you here, just don't want it to get out of date and fall off the roadmap) > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.