Filter the file that is even before copying

2014-02-14 Thread tamil13
Hi, I am using filter() option while copying file. It move the whole file (900MB) in temporary folder and then check file is to copied or not. I want camel to copy the given file after checking in source folder itself instead of temporary folder. Please suggest me. -- View this message in con

Re: Files from remote host

2013-01-29 Thread tamil13
To transfer file from remote system, you no need to use ftp component. you can simply use file component. It does work for me. but you gotta give from(file://etc//etc>") For remote host, you need to add prior instead of //. For remote folder, you need to add // prior instead of /. --

fuse osgi deploy

2013-01-11 Thread tamil13
Hey can any one guide me how to bundle camel project to osgi container using fuse esb? -- View this message in context: http://camel.465427.n5.nabble.com/fuse-osgi-deploy-tp5725356.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-mail regarding xml configuration

2013-01-10 Thread tamil13
I tried. but dont know how to do it. Could any one post respective xml code for sending mail? -- View this message in context: http://camel.465427.n5.nabble.com/camel-mail-regarding-xml-configuration-tp5725280p5725346.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-mail

2013-01-10 Thread tamil13
It is working now. Can we config below coding in camel-context.xml also? ProducerTemplate template; template = context.createProducerTemplate(); Map map = new HashMap(); map.put("To", "davscl...@apache.org"); map.put("From", "jstrac...@apache.org"); map.put("Subject", "Camel rocks"); String body

camel-mail regarding xml configuration

2013-01-10 Thread tamil13
How to configure below code into camel-context.xml file? template = context.createProducerTemplate(); ProducerTemplate template; Map map = new HashMap(); map.put("To", "davscl...@apache.org"); map.put("From", "jstrac...@apache.org"); map.put("Subject", "Camel rocks"); String body = "Hello Claus.\

Creating dynamic folder

2013-01-10 Thread tamil13
Hi. I want to create dynamic folder in dd-mm- based on some condition. how can we do? Below is the sample code. ${file:onlyname.noext} contains ${properties:fileName1}

Re: camel-mail

2013-01-08 Thread tamil13
Yes. We included *real mail server* detail only. This is same code except configuration information. Below code return null pointer exception also. Is there any other code available to create and send mail using *smtp* component? -- View this message in context: http://camel.465427.n5.nabble

camel-mail

2013-01-08 Thread tamil13
Hi. I am new to camel. just finished studying 'camel in action' book. but There is no mail configuration information in it. Using camel, I want to send a mail using *smtp* component. I tried everything as much as possible. but There is no progress. All I need is I want to create a new message, set

camel-ftp error

2012-12-27 Thread tamil13
Hi... I am new to camel... I could write code for file transfer in local system using camel. NOw I would to like to do that using FTP also. but when i run following line. from("ftp:localhost/workin?noop=true&passiveMode=true&ftpClient.dataTimeout=3").to("file:target/testworkin"); I got follow

Doubt on File Transfer using spring

2012-12-16 Thread tamil13
I am new to this camel framework. so I have one small doubt.. I can transfer file from one folder to another using simple camel coding. but I would like to make up using spring framework. but when I write code in xml file. I dont know how to *call *this xml configuration file either from maven or j

camelcontext

2012-11-26 Thread tamil13
I have one doubt regarding camelcontext using spring. In our project They used 2 camel configuration xml which are camel-context.xml and archive-camel-context.xml. In both, They used and . but they haven't used to invoke that camels in main. instead, They used import org.apache.camel.spring.Main