camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel SQL Using JNDI and Connecting to Schema other than default Schema
Date Thu, 20 Aug 2015 15:38:28 GMT
Maybe try as a <bean> as shown here
http://stackoverflow.com/questions/9183321/how-to-use-jndi-datasource-provided-by-tomcat-in-spring

I dont know how jndi-lookup is implemented in spring. But all Camel
does is to ask the spring app context to lookup beans with the name of
the datasource you configure on the sql component or in the camel uri.

If the spring jndi-lookup works different than <bean> then its a
spring limitation.

On Thu, Aug 20, 2015 at 5:34 PM, vivekrao001 <vivekrao001@gmail.com> wrote:
> Is the above problem is a bug or I'm doing it wrong?
>
> Thanks,
> Vivek.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-SQL-Using-JNDI-and-Connecting-to-Schema-other-than-default-Schema-tp5770854p5770860.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Mime
View raw message