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: SQL component issue - infinite loop
Date Thu, 19 Sep 2013 05:49:49 GMT
Hi

You can try with the stub component
http://camel.apache.org/stub

Or try with timer + stub etc just to see if there is similar issue.
Just to make an sample project that reproduces the problem but can run
standalone and thus much easier for others to use to investigate.



On Thu, Sep 19, 2013 at 12:27 AM, Christian Posta
<christian.posta@gmail.com> wrote:
> yah, i hear ya about derby, but it's easier for us to run it stand alone
> than set up mysql + sqlserver and import sql scripts to set up the schema.
> i didn't see the table DDL for product_ tables, etc either. If everything
> runs out of the box in the test (and fails, or doesn't do what you want it
> to do) we can debug it for you :)
>
>
>
>
> On Wed, Sep 18, 2013 at 3:03 PM, richie.riviere@gmail.com <
> richie.riviere@gmail.com> wrote:
>
>> Hi Costa,
>>
>> Yes you are correct, what you are looking at is what I have described in my
>> post where I say "Tonight I also tried to separate the routes out into
>> different route contexts but it didn't change anything".
>>
>> I've found the way I have structured it with multiple route contexts a bit
>> more convenient because I can easily comment out a route context in the
>> camel context.
>>
>> Nevertheless the behavior between what you are looking at and what I posted
>> on stack overflow is exactly the same. The application works well if I have
>> two routes (i.e. two sets of select inserts) but as soon as I add a third
>> the behavior changes and rather than the first route executing and then
>> finishing and tries to execute it multiple times leaving naturally me with
>> errors on a primary key.
>>
>> Does the way I have defined the root look okay?
>>
>> I will try with Derby but it's not realistic for me. I need to be
>> connecting
>> to sql server and mysql.
>>
>> thanks
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/SQL-component-issue-infinite-loop-tp5739486p5739788.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
> twitter: @christianposta



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message