Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EE8BDB52 for ; Mon, 22 Oct 2012 21:42:42 +0000 (UTC) Received: (qmail 51487 invoked by uid 500); 22 Oct 2012 21:42:41 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 51446 invoked by uid 500); 22 Oct 2012 21:42:41 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 51436 invoked by uid 99); 22 Oct 2012 21:42:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 21:42:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mark@van-cuijk.nl designates 79.170.90.37 as permitted sender) Received: from [79.170.90.37] (HELO prei.vps.van-cuijk.nl) (79.170.90.37) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 21:42:33 +0000 Received: from mail.home.van-cuijk.nl (mail.home.van-cuijk.nl [IPv6:2001:610:656::114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.home.van-cuijk.nl", Issuer "Van Cuijk, Mail CA" (verified OK)) by prei.vps.van-cuijk.nl (Postfix) with ESMTPS id A339B419B7 for ; Mon, 22 Oct 2012 23:42:12 +0200 (CEST) Received: from appel.wlan6.home.van-cuijk.nl (appel.wlan6.home.van-cuijk.nl [IPv6:2001:610:656:0:223:6cff:fe8d:7892]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mo_mark) by mail.home.van-cuijk.nl (Postfix) with ESMTP id CE3291CD7DA3 for ; Mon, 22 Oct 2012 23:42:11 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Service properties on aspect services in DM From: Mark van Cuijk In-Reply-To: Date: Mon, 22 Oct 2012 23:42:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <15B41EE0-D10A-41A8-9C82-0941111F6248@van-cuijk.nl> To: users@felix.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org Hi Marcel, On Oct 21, 2012, at 23:08 , Marcel Offermans wrote: > Hello Mark, >=20 > Out of curiosity, did you want to exploit the behavior you expected? = In other words, do you have a use case for it? I was indeed working on something and wanted to try whether aspects = services would fit for this use case. Basically I defined an interface for a service to retrieve records from = a remote system. Multiple implementation may be registered in a = whiteboard style. Some external systems don't supply values for all = fields of a record, so I used service properties to specify which = information is available in the retrieved records. Some fields can be deduced from other fields. For example, I have a = service that is able to map an account ID from the remote system to the = account ID in the internal system. My experiment was to create an aspect = service that consumes the original retriever, wraps the records, such = that internal account IDs are available and could therefore republish = the service with a new set of properties. I also made another aspect = service this way to deduce the value of an enum field using information = from other fields. Things started to fall apart when I chained those two aspect services. = In short, I expected to find a service when filtering on something like = (&(accountType=3DINTERNAL)(directionType=3D*)), both of which were added = / overridden by one of the aspect services. Anyway, I learned that using aspect services for an interface that is = assumed to be used whiteboard style complicates things a lot. I'm = already working out the solution I was about to use if I didn't want to = try out using aspect services and I just wanted to check on the intended = behavior ;-) Thanks, Mark= --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org