So first step to any of this is trying to recreate it on our side. Can you share with us a minimal version of your routes to help me recreate it? Also show how you're creating sourceSql and targetSql components.
On Sun, Sep 15, 2013 at 7:47 PM, richie.rivi...@gmail.com < richie.rivi...@gmail.com> wrote: > Hi All, > > I currently having issues with the SQL component in my camel project. I was > using the stack overflow forum to try and get some help but haven't been > able to get any yet and then I discovered these forums. > > My camel project uses Spring DSL. It has multiple routes specified in a > route context. > > What I am finding is that when I have two routes in my routeContext both > routes only execute once but as soon as I add a third (no matter what route > that third is), camel starts to execute all the routes infinitely. All of > my > routes lead to sql inserts so having the same route run more than once > causes a duplicate key error. > > I've played around with things a bit to try and get around it but not luck > yet. Here is the link to the original post which describes the issue in > depth. > > > http://stackoverflow.com/questions/18738832/camel-route-inside-routecontext-executing-infinitely > < > http://stackoverflow.com/questions/18738832/camel-route-inside-routecontext-executing-infinitely > > > > Thanks in advance for your help ! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/SQL-component-issue-infinite-loop-tp5739486.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta