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 EE0889527 for ; Wed, 21 Mar 2012 16:55:03 +0000 (UTC) Received: (qmail 94349 invoked by uid 500); 21 Mar 2012 16:55:03 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 94304 invoked by uid 500); 21 Mar 2012 16:55:03 -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 Delivered-To: moderator for users@felix.apache.org Received: (qmail 88477 invoked by uid 99); 21 Mar 2012 16:21:20 -0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cschneider111@googlemail.com designates 209.85.214.49 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=8GaBtY5agFoT593EeYROPptexATWNMjzUg/qxyskOqU=; b=qTlxr43p/S8rplbVQ4LRsSQssDm9KuE0mTXvLao8AVgcyCk41nGiqigae9oZKViowB brNA6FKniV+pOfRzZW8gZFcjBoO2QWJIU7H6x0Kx3vICka5vnumfgOhOGOC0ntH/JFrT UTy+TLqBi/Ls7kzKbvbxPGcvxTtF8fzdpLVGwQZZ49zcrkbE4/eA+lBoipUXMgAKKutZ 0DiVxD3Ea/g2H7cZhJq5cWTKk1+/o8UpvPShy3XfzZMP3vYXad6INMx/QxXAXPgCrZNx k25HVPqWZOddDi4PSvDjtNr+xkndYDAPORF49Wfxj+eEmM76oY+rgbq3XfaQAlqS+cEl eLNA== Sender: Christian Schneider Message-ID: <4F69FFDE.7030103@die-schneider.net> Date: Wed, 21 Mar 2012 17:20:46 +0100 From: Christian Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: users@felix.apache.org Subject: Re: Connect a bundle to a data base References: <4F6319A6.2060109@die-schneider.net> <4F64D646.2050708@die-schneider.net> <4F2F925C53AC43E5BF3B1F2F3C425082@gmail.com> <4F687468.3070700@die-schneider.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The solution described by Neil should allow that and should be easy to implement. Using the service to connect your other bundles to the datasource even makes them very indepentent of the implementation of the "bridge bundle". A user bundle could import the DataSource from my solution with blueprint or the handwritten java bridge bundle and would not have to be changed in any way. What exactly are you struggling with? Christian Am 21.03.2012 15:43, schrieb elMateo: > What I want it's only a bundle that work as a bridge to whatever database. > The other bundles access to this one to retrieve any information from > external databases. But I don't get this :( > > On Wed, Mar 21, 2012 at 2:38 PM, Donald Whytock wrote: > >> What you probably want in the long run is a datasource-generating >> service, to which you pass the database URI. You can put things in >> the properties of the service to indicate whether it's Oracle, mySQL, >> MSSQL, etc., so that you can have multiple generating services at the >> same time. >> >> Don >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org >> For additional commands, e-mail: users-help@felix.apache.org >> >> -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org