Hi, thanks for your answer.

Since I'm using MySQL (for test prupose at least), I installed the driver as
OSGI bundle. I'm not sure that the route bundle I deploy is able to use it,
but it seems I'm blocked earlier.

I would greatly appreciate if you could package a working sample and post
it. I assume that in my case there might be some wrong config or some file
is not at the right place... I posted my project as attachment of a jira
issue I raised  as asked by Gert.... Maybe you'd be able to find the
difference with your project... or maybe you could attach your sample
project to the case so that I can go further...

Thanks for everybody's help !

2011/3/24 Brimstedt <[email protected]>

> Hello,
> I have used camel-ibatis in a route in smx 4.x if it helps.
>
> I've just started to use it and so far made a select that outputs rows the
> log.
>
> The first problem I had was to get ibatis to find my jtds driver (ended up
> putting it in lib and exposing it in custom.properties.
>
> The second problem I have is with configuring the datasource, right now I
> have it hardcoded in SqlMapConfig.xml and have yet to find a way to put it
> in my beans.xml or configure db connection using java. If someone could
> enlighten me here, id be very happy.
>
> If I can provide any help on the camel-ibatis usage id be delighted.
>
> br
> /Linus
>
>
> Gert Vanthienen wrote:
> >
> > Mike,
> >
> > There's a good chance that nobody has tried the
> > ServiceMix/Camel/iBatis comibination before.   However, it sounds like
> > a reasonable use case, so would you be willing to raise a JIRA issue
> > and provide a patch with the stuff you have so far (perhaps remove the
> > bits that are proprietary to your company or project) so we can turn
> > it into a working example ?
> >
> >
> >
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/Using-MyBatis-in-a-camel-route-on-SMX-tp4256837p4261774.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Reply via email to