Return-Path: Delivered-To: apmail-incubator-abdera-user-archive@locus.apache.org Received: (qmail 47438 invoked from network); 8 Jan 2008 14:59:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2008 14:59:10 -0000 Received: (qmail 49873 invoked by uid 500); 8 Jan 2008 14:58:59 -0000 Delivered-To: apmail-incubator-abdera-user-archive@incubator.apache.org Received: (qmail 49854 invoked by uid 500); 8 Jan 2008 14:58:59 -0000 Mailing-List: contact abdera-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-user@incubator.apache.org Delivered-To: mailing list abdera-user@incubator.apache.org Received: (qmail 49845 invoked by uid 99); 8 Jan 2008 14:58:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 06:58:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.124.50.160] (HELO a2s8.a2hosting.com) (209.124.50.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 14:58:45 +0000 Received: from [204.19.213.64] (helo=ArrovaL001) by a2s8.a2hosting.com with esmtpa (Exim 4.68) (envelope-from ) id 1JCFuX-0005GN-3H; Tue, 08 Jan 2008 09:58:37 -0500 Reply-To: From: "Remy Gendron" To: , References: <191EA8B5569E448F87050FF229175C76@ArrovaL001> <4DD5FA4BA57941448B3B142644923FE4@ArrovaL001> <4782A101.9000203@mulesource.com> <4ED60A854162433A9D4D68D46FA14B92@ArrovaL001> In-Reply-To: <4ED60A854162433A9D4D68D46FA14B92@ArrovaL001> Subject: RE: collectionProvider attribute is null Date: Tue, 8 Jan 2008 09:58:27 -0500 Organization: @rrova Message-ID: <4546AB8B69E9419EBC5D677EB1E2D28D@ArrovaL001> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AchReNTokYHvAQRUSg6w/qM7Tqd34QAhvILAAAGw2xA= X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s8.a2hosting.com X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arrova.ca X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org Everything works great using the ServiceProvider as the target resolver. No more need for the Regex stuff. Thanks! And the collection providers do not have to register themselves with the application context. OK there. Thanks Dan! I would forgo the need to have backward compatibility with a specific RegexTargetResolver. Simplicity is always best. Thanks again! - Remy -----Original Message----- From: Remy Gendron [mailto:remy.gendron@arrova.ca] Sent: 08 January 2008 09:10 To: abdera-user@incubator.apache.org Subject: RE: collectionProvider attribute is null Thanks for the reply. It makes sense that the service provider, having all the necessary information about workspaces and collection providers, is able to automatically route incoming requests. I did use a specific instance of RegexTargetResolver because that was how it was done in the server unit tests. I'm going to try using the service provider as the resolver. Thanks for the heads-up... - Remy -----Original Message----- From: Dan Diephouse [mailto:dan.diephouse@mulesource.com] Sent: 07 January 2008 17:01 To: abdera-user@incubator.apache.org Subject: Re: collectionProvider attribute is null Remy Gendron wrote: > The regex target resolver is now gone from the unit test initialization? Can > you provide a short explanation? This could actually be the issue. I changed the AbstractServiceProvider so that it implements Resolver now. Which means that people don't have to use RegexTargetResult. They simply need to supply the ServiceProvider as their Resolver. I wasn't really thinking about the use case where people still have their own resolvers though. I'm going to have to look into how to make these two things work together. It may not be possible because ServiceProviders assume a very specific layout. Have you specified the ServiceProvider as the Resolver for your application? Or did you just remove the RegexTargetResolver? - Dan -- Dan Diephouse MuleSource http://mulesource.com | http://netzooid.com/blog No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 2008.01.07 09:14 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 2008.01.07 09:14 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 2008.01.07 09:14 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 2008.01.07 09:14