Re: Camel with Rabbitmq: messages in temp reply queue not being acked

2018-08-21 Thread Claus Ibsen
Hi Validis Yeah that sounds good. Great to hear we have a solution for this issue now. On Tue, Aug 21, 2018 at 5:58 PM, Valdis Andersons wrote: > Hi Claus, > > That seems to work as expected, deployed a local build to test and no more > stale messages in un-acked states in the temp reply queu

Enabling transactions for sjms-batch [Was: Transactions (Multiple JMS Consumers) and Aggregation]

2018-08-21 Thread Rajith Muditha Attapattu
Quick clarification.. Do we still need to use the transacted() directive in the DSL or is it enough to set the transacted=true in the endpoint URI ? Further, does transaction batch size work independently of the completionSize ? If I set transaction batch size to x and completionSize to y. if x

RE: Camel with Rabbitmq: messages in temp reply queue not being acked

2018-08-21 Thread Valdis Andersons
Hi Claus, That seems to work as expected, deployed a local build to test and no more stale messages in un-acked states in the temp reply queues and in addition it doesn't seem to brake any tests either. JIRA ticket here: https://issues.apache.org/jira/browse/CAMEL-12746 Tomorrow I'll figure out

Re: NoSuchMethodError RemoteFileEndpoint isPreSort

2018-08-21 Thread Claus Ibsen
Hi Are you having mixed versions of Camel JARs on your classpath? As this kind of error smells like that. 2018-08-21 14:18 GMT+02:00 th.rich...@uksh.de : > Moin all, > > I got a strange warning ... with version 2.22 and 2.21.2 > > 2018-08-21 14:13:29,643 WARN o.a.c.c.f.r.SftpConsumer.log(): Cons

NoSuchMethodError RemoteFileEndpoint isPreSort

2018-08-21 Thread th.rich...@uksh.de
Moin all, I got a strange warning ... with version 2.22 and 2.21.2 2018-08-21 14:13:29,643 WARN o.a.c.c.f.r.SftpConsumer.log(): Consumer SftpConsumer[sftp://.../?autoCreate=true&delay=2500&exclude=... &include=...&initialDelay=7000&knownHostsFile=...known_hosts &move=done&moveFailed=fail&preMove

Re: Run route DSL without any bootstap code

2018-08-21 Thread Claus Ibsen
Hi Yeah you need the Main class from camel-spring which can load XML files. On Tue, Aug 21, 2018 at 9:59 AM, Eugene Prokopiev wrote: > Hi, > > Is it possible to run simple route with XML DSL and without any > bootstrap code, e.g. using existing org.apache.camel.main.Main or so? > I tried to lea

Re: Camel with Rabbitmq: messages in temp reply queue not being acked

2018-08-21 Thread Claus Ibsen
On Tue, Aug 21, 2018 at 10:05 AM, Valdis Andersons wrote: > Hi Claus, > > Thanks for your time and the response. I'll see if I can check out the code > today and build it locally and then deploy to a test environment. > As you suggested, I'll make a change to the TemporaryQueueReplyManager at >

RE: Camel with Rabbitmq: messages in temp reply queue not being acked

2018-08-21 Thread Valdis Andersons
Hi Claus, Thanks for your time and the response. I'll see if I can check out the code today and build it locally and then deploy to a test environment. As you suggested, I'll make a change to the TemporaryQueueReplyManager at line 139 to always create a temp queue with autoAck=ture. Please let m

Run route DSL without any bootstap code

2018-08-21 Thread Eugene Prokopiev
Hi, Is it possible to run simple route with XML DSL and without any bootstrap code, e.g. using existing org.apache.camel.main.Main or so? I tried to learn code of Main.java but I see only -r option to load routes from compiled classes, not from files with XML DSL or so. Maybe direct using XML DSL

Re: Camel with Rabbitmq: messages in temp reply queue not being acked

2018-08-21 Thread Claus Ibsen
Hi You may be on to something. It does smell like when using temporary queues for request/response then acknowledge should maybe be auto always, so the "other side" can see the message on the temporary queue, process it, and send back a reply message, for Camel to pickup. I wonder if you could mo