Re: action at the end of the split

2015-08-14 Thread Wilson MacGyver
thanks, that sadly doesn't work either. I tried from("direct:testSplit") .split(body().tokenize("\n")).streaming() .setProperty("totalSize", simple("${property.CamelSplitSize}")) .to("mock:result")

Re: action at the end of the split

2015-08-14 Thread Luis Augusto C. Sauerbronn
Hi, If you want to store an information to use it later during the lifetime of the request you should place it in the "Exchange Properties" not in the "Input/Output Headers". Many endpoints and processors do not pass ahead the received headers. If you put it on the Exchange properties it will exis

Re: action at the end of the split

2015-08-14 Thread Wilson MacGyver
tried that, sadly no go. any header I set within the split, isn't accessible outside of the split block either. On Tue, Aug 11, 2015 at 4:54 AM, mailingl...@j-b-s.de wrote: > Hi! > > Try the following: in your split route just set a new header field with > the value of "splitsize". Ok, this assi

Re: Apache Camel CXF Transport - Adding interceptors to JaxWs Client

2015-08-14 Thread Resmis
Thanks a lot Dan. I gave namespace declaration for spring elements. It solved the problem. Thanks, Resmi -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-CXF-Transport-Adding-interceptors-to-JaxWs-Client-tp5770596p5770715.html Sent from the Camel - Users mailing

Getting javax.mail.AuthenticationFailedException when trying to consume a gmail.com account folder with imaps://

2015-08-14 Thread jspyeatt
I am trying to consume email messages from a folder on a gmail.com account using the following URI. imaps://imap.gmail.com?consumer.delay=6&delete=false&folderName=camel&mapMailMessage=true&password=xx&peek=true&unseen=true&username=myu...@gmail.com And I'm getting the following error: W

Muiltcast or SEDA (Performance)

2015-08-14 Thread Felix Thomas
hello, I have configured the below route, works fine . but have some doubts based on it http://camel.apache.org/schema/spring";> select * from TEST ${body}

Re: Getting query parameters from jetty and put then in restlet endpoint

2015-08-14 Thread arnaud
Hi Greg, With the following code : from("jetty:http://localhost:8081/myapp/myservice?param1={param1}¶m2={param2}";) .to("restlet:http://localhost:20010/services/getInfos?param1=(param1)¶m2=(param2)&restletMethod=get"); I get an url like that in the log : http://localhost:20010/services/getIn

polling enricher on split exchanges?

2015-08-14 Thread Patrick696
Hi, I am trying to come up with a solution where a very large csv file is split into exchanges containing a batches of csv rows. I have a new requirement to validate these rows against some content contained in the body of an exchange created from a Rest consumer route. I want to use an enrichment

splitter EIP stuck in JBOSS fuse.

2015-08-14 Thread Manish
I tried to split a large xml file and published each individual message in JMS queue. In my local camel setup its working fine but when I deployed in fuse, after processing few messages, it stucks/hangs. It doesn't gave any error message also.. following the code I used..

Want to keep original file but want to delete done file.

2015-08-14 Thread Manish
Hi, I am new to camel.. My requirement is: I want to consume file using file endpoint, but I want to keep the file as it is, so that other application can read this file..but want to delete the donefile so that it should not processed again by my application. eg: shipment.xml : file to be consume

How to log SMPP error codes sent by SMSC for Negative packets

2015-08-14 Thread PinkSs
Dear All, I am using AMQv5.9+camel for binding with SMSC using camel-smpp component. I want to log Error code sent by SMSC via Negative PDU on submit message. When system receives such negative packet, org.jsmpp.extra.NegativeResponseException is thrown which I catched in camel.xml (contains my r

Camel 2.15.2 FTP returning "File operation failed: Connection closed without indication.. Code: 421" after processing small subset of files

2015-08-14 Thread eekong
This is my first time posting here so apologies if I'm missing something obvious. Not sure how closely my issue is related to this http://camel.465427.n5.nabble.com/camel-ftp-2-15-1-return-ftp-error-code-421-td5765272.html