Char set for Special Character (Ì)

2014-03-06 Thread jay
Hi, I am getting error while reading a characters "Ì" and "D˘" in camel splitter/Scanner. i used a char sets (UTF-8 and ISO-8859-1) to split/read a file which has "Ì" or "D˘" chars in it - but it is not working. my guess is that it would be french character or latin character but i am not 100% s

Re: Builder constant unable to get the headers

2014-02-25 Thread jay
Thanks a lot. it works for me. -- View this message in context: http://camel.465427.n5.nabble.com/Builder-constant-unable-to-get-the-headers-tp5747890p5747931.html Sent from the Camel - Users mailing list archive at Nabble.com.

Builder constant unable to get the headers

2014-02-24 Thread jay
Hi Viewers, Can some one point me what is going wrong here as i am unable to get the headers in the body. but it is logging out in the log. .log("CorrelationID" + simple("${in.header.correlationID}") ) --> i can see the correlationID in log. .setBody(Builder.constant("please find the " + simple("

Re: File Component route issue.

2014-02-21 Thread jay
Hello Claus, Do you suggest any work around for this issue? -- View this message in context: http://camel.465427.n5.nabble.com/File-Component-route-issue-tp5747281p5747786.html Sent from the Camel - Users mailing list archive at Nabble.com.

OnException issue in Camel not sending invalid message to error queue

2014-02-21 Thread jay
Hi, I have an issue with the onException in camel route. Actually i have a requirement to process an inbound messages from a queue (from) and send it to the processed queue (to). if inbound message is not valid or gets an error/exception then send that message to error queue. But i could see the

Re: File Component route issue.

2014-02-19 Thread jay
Hi Claus, it is both as we might get the CR LF or LF in file so i used both. And also you are right that the tokenizer needs to be adjusted ignoring the invalid lines/chars - looks like it is not a memory issue - it is issue with the program. .split(body().tokenize("\n|\r\n")).streaming().conve

Re: File Component route issue.

2014-02-14 Thread jay
Thanks Claus - thanks for your views. i have tried with tokenizer locally and it processed all the records. however i think tokenizer may not be a problem as the same file has been processed in my local fuse container (Macbook)- i have tried couple of times in local fuse esb and it processed.

File Component route issue.

2014-02-13 Thread jay
Hi I have a requirement to process 2 huge files from remote server. Step1:i have written route to SFTP the file from remote server to local server - working fine. from(from).autoStartup(true).to(to) from--> sftp://user@?password=&localWorkDirectory=/tmp&readLock=changed&idempotent=true&

Camel - SFTP rename problems.

2014-02-05 Thread jay
Hi - i have a requirement to consume the file from remote server using sftp and rename the consumed file at same location in remote server. suppose my remote file name = "REMOTEFILE.TXT' to be renamed to = "${date:now}_PROCESSED.TXT" I am trying with the below end point - i know which is not cor

Re: OnCompletion issue in Camel-ActiveMQ

2013-11-08 Thread jay
Hi, Thanks a lot for your views. i will try to look into the Camel route timing option. Have a good weekend. -- View this message in context: http://camel.465427.n5.nabble.com/OnCompletion-issue-in-Camel-ActiveMQ-tp5742771p5742824.html Sent from the Camel - Users mailing list archive at Nabble.

OnCompletion issue in Camel-ActiveMQ

2013-11-07 Thread jay
Hi Guys, I have a requirement to call some bean/pojo or processor to clean some stuff once all the messages are processed from the queue (_from). But my on completion is getting invoked for every single message. Could someone let me know your views on what is wrong i am doing here. below is m

Re: Re: Follow on to configuring persistence with java not spring xml

2012-11-20 Thread Jay Walters
thod where this FactoryBean does: this.entityManagerFactory = createEntityManagerFactoryProxy(this.nativeEntityManagerFactory); So maybe calling this method inside your Java code right after emFactory instantiation could help to move one step further. Babak Jay Walters wrote > My reading of the s

Re: Re: Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Jay Walters
wrote: Do you have any stack trace? Did you setup the jpa persistence layer properly? That's the bit that is mandatory and in our example is done via spring (iirc). Hadrian On 11/19/2012 02:03 PM, Jay Walters wrote: > I am trying to understand if it is feasible to configure routes and t

Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Jay Walters
I am trying to understand if it is feasible to configure routes and things at runtime from Java rather than having to deploy a bunch of fixed xml files for spring configuration. I can work through simple examples easy enough (say sending data through activeMQ) but am having some problem with th