Re: camel quartz2 scheduler external quartz.properties file

2017-01-23 Thread Deepak kumar
Hi Claus, I tried by making a QuartzComponent using java config. But this one is not getting detected in my camel-quartz component. @Bean //@Produce(uri="quartz2://myscheduler2?cron=0+0/2+0+?+*+MON-SAT") public QuartzComponent quartzComponent(){ System.out.

camel quartz2 scheduler external quartz.properties file

2017-01-23 Thread Deepak kumar
We have a spring boot backed camel project and we are using a camel-quartz2 component . The problem is by default the quartz.properties file is expected to be present in org.quartz directory inside the src/main/resources directory . Is there any possible way where i can give the location of the qua

Re: use camel to send mail with word table

2016-11-23 Thread Deepak kumar
Hi Claus, Converting the data set part is clear for me. Where i am stuck is what should be the camel mail config parameters and the content type so that the data goes into the body of the mail, not as an attachment. Regards, Deepak -- View this message in context: http://camel.465427.n5.nabble

use camel to send mail with word table

2016-11-22 Thread Deepak kumar
we have a data set in terms of json array. we want to send the json contents as word table data using apache camel. Can anyone please suggest how to achieve that? the data set looks like:- {"id":12,"name":"abc","age":25} {"id":13,"name":"xyz","age":26} {"id":12,"name":"mno","age":26}

Multiple schedulers in apache camel

2016-11-19 Thread Deepak kumar
I have two schedulers in my route and i want each schedule to fire at some particular time of a day and each scheduler is meant for a different task process.But when i write the below configuration i doesn't execute properly. I don't understand why both the schedulers are running like this ,not acc

Re: camel consume message from multiple jms endpoint based on condition

2016-08-03 Thread Deepak kumar
Hi Claus, We are using solace as the jms component and its a queue. Basically it is a spring boot camel project . So during application startup from the properties file it creates the jms component. application.properties:- jms.connectionType=solace jms.solace.solaceJmsVpnContext=Solace_JMS_VPN

camel consume message from multiple jms endpoint based on condition

2016-08-03 Thread Deepak kumar
i have a camel route which polls a jms component and this works fine for me. But we have another requirement here there should be 2 jms endpoints .if first endpoint is not up then camel should polls the 2nd endpoint.Can anyone suggest how to achieve this? thanks in advance.. -- View this messag

camel not supporting utf-8 character

2016-05-31 Thread Deepak kumar
I have a spring boot camel project. Then there is a route which fetches xml data from activemq. When i run the program through STS -> Run as Spring Boot app it works fine for UTF-8 char encoding. But when i make the fat jar and run it then in the logs i get junk characters for chinese fonts. My log

Re: mock http endpoint and retrieving value form properties file

2016-05-17 Thread Deepak kumar
Hi Quinn, My test class looks like this. When i am trying to run i am getting error message like- No bean "testProcessor" found in the registry. public class FirstTest extends CamelSpringTestSupport{ @Override protected AbstractApplicationContext createApplicationContext() {

Re: mock http endpoint and retrieving value form properties file

2016-05-16 Thread Deepak kumar
Hi Quinn , I got it how to get the value from properties file. But how can i test the http endpoint here.and that to based on different http response status? if the status will return 404 then i will throw custom exception. how can i test these scenarios? -- View this message in context: http:/

mock http endpoint and retrieving value form properties file

2016-05-15 Thread Deepak kumar
I have route in my camel context like this:- routename How can i test the abo