iBatis like any JDBC will work by timer (quartz library). For example, you
can set it to fire every second:
from("quartz://CurrencyRates/secondAttempt/1,2,3,4,5,6,7,8,9,10,...,59/*/*/*/*/$")
.to("ibatis:statement?statementType=QueryForList")...
On Mon, Oct 26, 2009 at 4:46 PM, titexe <[email protected]> wrote:
>
> you're right, the best solution is to use triggers
>
> DB [Triggers -> Stored Procedure ->. Net (put in the tail)] -> Queue ->
> [Camel (Get Message) -> (Insert to DB)]
>
> my question is: is that iBatis will offer a solution in relation to my
> problem?
>
> Thanks in advance,
>
> titexe
>
> PS : I am still reading the book "camel in action", all my comments and my
> suggestions, you'll find in the forum.
>
>
> Claus Ibsen-2 wrote:
> >
> > On Fri, Oct 23, 2009 at 7:41 PM, titexe <[email protected]> wrote:
> >>
> >> Hello,
> >>
> >> We would like to copy in real time the inserted records in a database to
> >> another,
> >>
> >> my question is: the component ibatis camel can manage this mode(real
> >> time)?
> >>
> >
> > People can solve this in the DB itself by using triggers to copy data
> > from one table to another.
> > Then its "real time"
> >
> >
> >> Best regards,
> >>
> >> titexe
> >>
> >> PS : I bought your book camel in action, it has served me well, I wish
> >> you
> >> good continuation
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Camel-iBatis-%3A-management-of-real-time-recording-of-a-database--tp26030539p26030539.html
> >> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> >
> > --
> > Claus Ibsen
> > Apache Camel Committer
> >
> > Author of Camel in Action: http://www.manning.com/ibsen/
> > Open Source Integration: http://fusesource.com
> > Blog: http://davsclaus.blogspot.com/
> > Twitter: http://twitter.com/davsclaus
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Camel-iBatis-%3A-management-of-real-time-recording-of-a-database--tp26030539p26060031.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>