Delete .camelLock files during start up

2017-01-25 Thread Adithi Jagannathan
Hi, My application is using java, camel 2.18.1, spring .I want to delete the .camelLock files from prevoius run of the file component route during start up. Please advise me on this as camel seems to not delete the .camelLock files. Thanks

ProducerTemplate using netty4 component

2017-01-25 Thread Giordano, Michael
I am running into an issue when I use the netty4 component with a ProducerTemplate. Processor bean : @EndpointInject(uri="netty4:udp://10.18.2.161:6509") private ProducerTemplate producerTemplate; When Spring Boot tries to create the bean, I get this error message : Failed to resolve e

Re: Camel route not getting to aggregation and bean in certain cases

2017-01-25 Thread catequil
So, I tried to consolidate the calls all into the same route where it is getting dropped to see if having it in its own direct route was causing the problem. See new code below for reference. No change in functionality occurred. -- View this message in context: http://camel.465427.n5.nabble

Re: Camel route not getting to aggregation and bean in certain cases

2017-01-25 Thread catequil
I placed a log call here: It only printed out when there was an error, with the same results as before. The aggregationId was in the header for the error one, but then again I only got the one 'error' result continuing. Thanks for your quick reply! -- View this message in context: http://ca

Re: Camel route not getting to aggregation and bean in certain cases

2017-01-25 Thread souciance
A bit hard to tell but why don't you put a .log() statement before the .aggregate and see how your body and headers look? Do you get a header with aggregationId? On Wed, Jan 25, 2017 at 8:51 PM, catequil [via Camel] < ml-node+s465427n5793058...@n5.nabble.com> wrote: > *Camel route not getting to

Camel route not getting to aggregation and bean in certain cases

2017-01-25 Thread catequil
*Camel route not getting to aggregation and bean in certain cases.* Below is my camel route. When the route encounters a SoapFault the route works great. However, in the case of success from the soap call the route never gets to the aggregation and bean calls marked < below. I would expect t

Re: camel pollEnrich API not working properly Camel 2.15 leaves file locks on aggregation uri path

2017-01-25 Thread GaryLeeMills
I am using Camel 2.15 thank you -- View this message in context: http://camel.465427.n5.nabble.com/camel-pollEnrich-API-not-working-properly-Camel-2-15-leaves-file-locks-on-aggregation-uri-path-tp5793038p5793057.html Sent from the Camel - Users mailing list archive at Nabble.com.

HTTP4 Delete method is not sending request body.

2017-01-25 Thread atluris
Hi, We are using camel http4 component to call Rest APIs. One of our DELETE rest api contains body, which has the list of ids to delete. When we tried to call DELETE method with body, it is not being sent. I did bit of research and found that org.apache.http.client.methods.HttpDelete is not exten

Deploy Service Mix

2017-01-25 Thread DanielArias
Hi, I'm trying to deploy my camel project created with eclipse with archetype java-camel-spring-archetype version 2.2.149 My ServiceMix version is: 6.1.3 I use activemq in my proyect and a sql connection My pom looks like this: 4.0.0 Integrabilia_Aloha_Camel Obranza

Re: bean Registry

2017-01-25 Thread veeru_as
Is there any way to override default registry? One which I came across is add a bean like below. But after adding this am getting the bean not found error for below bean any ways to add this bean to jndi registry? -- View this message in context: http://camel.465427.n5.nabble.com/bean-Re

bindy trim fixedlength

2017-01-25 Thread erik_romson
in the last commit 0e72f475f80a9699fe49004c431e1ce4e360c35d for org.apache.camel.dataformat.bindy.BindyFixedLengthFactory the trimming was changed from if (dataField.trim()) { //token = token.trim(); } to if (dataField.trim()) {

Re: cronscheduledroutepolicy not working as expected in switchyard

2017-01-25 Thread Tomohisa Igarashi
Do not cross-post SwitchYard question here. This is Camel user community, not for SwitchYard. On 01/25/2017 04:07 AM, ravi21588 wrote: Hi All, Iam trying to implement cronscheduledroutepolicy in camel route and it is not working as expected.iam expecting switchyard Route to stop and start at cr

cronscheduledroutepolicy not working as expected in switchyard

2017-01-25 Thread ravi21588
Hi All, Iam trying to implement cronscheduledroutepolicy in camel route and it is not working as expected.iam expecting switchyard Route to stop and start at cron trigger.I had added routePolicyRef="customRoutePolicy" and autoStartup="false" attributes in route definition. logs: 23:07:01,530 INFO

Re: manage headers

2017-01-25 Thread Zoran Regvart
Hi, one option would be to implement a custom processor[1] zoran [1] http://camel.apache.org/processor.html On Tue, Jan 24, 2017 at 4:39 PM, buyleg wrote: > Is it possible to manage the header with a bean instead of setHeader for each > value? > What I mean: Could you use replace the following:

Re: PermGen Leak when using Groovy expressions

2017-01-25 Thread Zoran Regvart
Hi Christoph, I think you have encountered a recently fixed issue[1]. You can help us validate it by running your use case against 2.17.6-SNAPSHOT, you can get the build from the snapshots repository[2] thanks, zoran [1] https://issues.apache.org/jira/browse/CAMEL-10732 [2] https://repository.a

PermGen Leak when using Groovy expressions

2017-01-25 Thread ChThelen
We use Camel 2.17.3 on a Tomcat 8.5.8 with Java 7. Our project has about 30 routes with a peak throughput of 2000 requests per minute in total. In one route we used two Groovy expressions for message body transformation. After the update to 2.17.3 we saw a constant growth of the perm gen usage - ~3

camel:propertyPlaceholder get value of a key specified as header

2017-01-25 Thread L F
Hello camel users, I have a spring DSL defined route and a properties file, where i have defined let's say some FTP connection endpoints. the properties file looks like this: ftp1=ftp://test1@host.comftp2=ftp://te...@host1.com.. and i have a header ftp.enpoint=ftp1 I would like to get one of t