Hi,

To follow up on my earlier, shorter, email. We do not appear to
implement the osgi.jndi.serviceName support. Even if we did it is not
clear to me, from the spec, that using compound names (i.e. having a
forward slash in the service name) is supported.. The spec defines a
lookup url to be as follows:

interface[/filter]

Where the interface is defined to be:

jndi-service-name | fully qualified name

It does not define jndi-service-name, but the text indicates this is a
replacement for the interface fully qualified name, which would
indicate forward slash is not valid.

In reality I think we should support this, so what I plan to do in
ARIES-128 is implement the following:

interface[/filter] | jndi-service-name

Which would allow you to do what you want.

Alasdair

On 2 February 2010 19:06, Alasdair Nottingham <[email protected]> wrote:
> Interesting question. The short answer is not yet. I'm working on a fix
> under ARIES-128.
> I'll send an update tomorrow on what I plan to do.
>
> Alasdair
> On 2 Feb 2010, at 14:33, Charles Moulliard <[email protected]> wrote:
>
> Hi,
>
> I would like to know if we can already use Aries jndi to publish database
> reference "jdbc/xxxDB" and retrieve it from a bundle (where spring is used
> to handle transactions) ?
>
> If the answer is yes, is there an example showing this ?
>
> Kind regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>



-- 
Alasdair Nottingham
[email protected]

Reply via email to