How do I retry processing a message from a certain point back or an entire route but process something before redelivery

2016-08-07 Thread Mayank Garkoti
There is a topic already present " " but this does not answer my question fully. How can I process something before redelivery on the same. I want to process something on exception in second route but then r

camel-archetype-blueprint fails to execute mvn camel:run

2016-08-07 Thread gustavo.maurizio
when creating samples with archetype camel-archetype-blueprint, in versions 2.16.3, 2.17.1, 2.17.2 and 2.17.3, the produced components test fine, but fail to execute with mvn camel:run. Package and test work fine. Java 1.8 Oracle SDK [tomcat@sis-r0-camel10 test]$ mvn -v Apache Maven 3.3.9 (bb52d85

Apache camel and SQS Extended Client Library

2016-08-07 Thread murmav
So. As you know AWS Simple Queue Service has some limitation on a message's size. There is also a library called Extended Client Library that help us to avoid this limitation by using S3 bucket storage. And I also use Apache Camel

Apache Camel Architect in NJ

2016-08-07 Thread Kate
Hi everybody! I am looking for Apache Camel Developer for a big bank in NJ for a 1 year contract. Please contact me at kate.margol...@enableit.us.com for more details. Thank you -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Architect-in-NJ-tp5786079.html Sent

Re: Can simple() be made to compare strings in a case insensitive way?

2016-08-07 Thread krajkumar
This thread was more than a year old, but just want to share the way I handled this issue. .choice() .when().simple("${body.filter} == null || ${body.filter.filterBy?.*equalsIgnoreCase*('department')}”) Since we already having a option, why we need new operator? -- View this message in cont

Dynamic bean name injection

2016-08-07 Thread souciance
Hello, I am in the middle of refactoring several routes into a template route. We have some beans in our blueprint xml (use to configure the camelcontext - rest is java dsl) like this: The route references look similar to:

Re: Bean injection?

2016-08-07 Thread Brad Johnson
I accidentally wrote CBTS but mean CTS. I've been working with Blueprint for the past 3 years or so but I'm trying to migrate away from it. With Camel 2.17 the CDI has become so good that that is definitely the way to go for the future. But I'm using Fuse 6.2.1 and it doesn't work with that ver

Re: Dynamic bean name injection

2016-08-07 Thread Brad Johnson
What do the routes look like? On Sun, Aug 7, 2016 at 8:50 AM, souciance wrote: > Hello, > > I am in the middle of refactoring several routes into a template route. We > have some beans in our blueprint xml (use to configure the camelcontext - > rest is java dsl) like this: > > > > > > > > T

Re: Dynamic bean name injection

2016-08-07 Thread souciance
Don't have the code near me, but basically they are if the pattern: from()... processor().. to().. I want to replace the processor with a bean call e.g. bean({{"beanName/beanId"}} Each route instance needs to refer to a different bean hence the need to inject the bean name dynamically or via a

Re: Dynamic bean name injection

2016-08-07 Thread Matt Sicker
Have you looked at using .toD("bean:foo") where you can use the simple language syntax within? For example, if you have a header named "beanId" which has your bean name, then you could use .toD("bean:${header.beanId}"). On 7 August 2016 at 12:02, souciance wrote: > Don't have the code near me,

Re: Dynamic bean name injection

2016-08-07 Thread souciance
Hi Matt, I was unsure if you could inject the id from a header like the example you show. I'll give it a try and if it works then that would a be great solution and would reduce quit a lot of code. Thanks for the help. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-

Re: Dynamic bean name injection

2016-08-07 Thread Matt Sicker
The whole list of things you can use for variable substitution are listed here: https://camel.apache.org/simple.html On 7 August 2016 at 13:21, souciance wrote: > Hi Matt, > > I was unsure if you could inject the id from a header like the example you > show. I'll give it a try and if it works th

Verify understanding...

2016-08-07 Thread Brad Johnson
Just wanted to verify that my understanding is correct here. Since I'm switching from XML to Java DSL I want to verify that when I do something like this in the configure() method: .filter().method(POValidator.class) .bean(POEnricher.class) It is only instantiating that once. It isn't creating

Re: Camel Suspend moving file to error folder.

2016-08-07 Thread fxthomas
any tips or hints guys ? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Suspend-moving-file-to-error-folder-tp5786039p5786134.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: karaf issues with camel and activemq latest 2.17.2

2016-08-07 Thread Tim Jones
Maybe related to this http://karaf.922171.n3.nabble.com/ActiveMQ-and-Camel-2-17-x-on-Karaf-td4046427.html -- View this message in context: http://camel.465427.n5.nabble.com/karaf-issues-with-camel-and-activemq-latest-2-17-2-tp5786124p5786131.html Sent from the Camel - Users mailing list archive

karaf issues with camel and activemq latest 2.17.2

2016-08-07 Thread gustavo.maurizio
When trying to deploy in Karaf 4.0.5, the dependencies cannot get resolved. This happens when installing latest snapshot and stable versions of BOTH activemq and camel into Karaf. It works with camel 2.16.3 and latest activemq but trying to use 2.17.x fails. Seems related to camel loading multiple