AW: substring using indexof +1 using simple language

2017-11-23 Thread christian.jacob
I recommend to use a regular expression instead. -Ursprüngliche Nachricht- Von: Daniel Langevin [mailto:daniel.lange...@shq.gouv.qc.ca] Gesendet: Donnerstag, 23. November 2017 16:28 An: users@camel.apache.org Betreff: substring using indexof +1 using simple language Hi, i try to retreive

substring using indexof +1 using simple language

2017-11-23 Thread Daniel Langevin
Hi, i try to retreive domain name from a String containng an email adress with simple language from the body message in single instruction. I'm using camel 2.17.7 Look my try ${body.substring(${body.indexOf("@")}++,${body.length})} but receive this error org.apache.camel.language.bean.Runti

Re: which version of camel supports Exclusive Consumer

2017-11-23 Thread Claus Ibsen
Hi This does not depend on Camel version, its a pure ActiveMQ functionality, so its really what version of ActiveMQ you use. And how you configure it to turn such a feature on. AFAIK this feature has been included a long time in ActiveMQ, but you can search their website and ask on their user for

Re: File idempotent repository problem since 2.20

2017-11-23 Thread Claus Ibsen
Hi Yeah that sounds like a bug, you are welcome to log a JIRA ticket and provide a fix as github PR http://camel.apache.org/contributing On Thu, Nov 23, 2017 at 12:51 PM, Krzysztof Hołdanowicz wrote: > Hi all, > > So far we've been using file idempotent repository which was defined like > this:

File idempotent repository problem since 2.20

2017-11-23 Thread Krzysztof Hołdanowicz
Hi all, So far we've been using file idempotent repository which was defined like this: However since Camel version 2.20 I can see that in FileIdempotentRepository.java there is a cache initialization in method doStart(): protected void doStart() throws Exception { ... this.cache = LR

which version of camel supports Exclusive Consumer

2017-11-23 Thread 23patel patel
can you someone provide reference to apache camel documentation which supports activemq exclusive consumer feature.