actually i am using the apache-tomee-jaxrs as server. and i included this two
library camel-core-2.12.1
camel-mail-2.12.1. so its work.try it.
--
View this message in context:
http://camel.465427.n5.nabble.com/i-am-getting-exception-org-apache-cxf-interceptor-Fault-org-apache-camel-CamelContext
hi. i need to perform the all operation like the creating the quartz2
scheduler and deleting on only one Apache camel context
using restful service. when i try using following code .each time its
creating the new context object. i do not know how to fix it.
this is my code
this is my java restful
Thanks you brother.i got it.
--
View this message in context:
http://camel.465427.n5.nabble.com/after-setting-trigger-repeatCount-1-then-also-going-to-infinite-scheduler-tp5743361p5743567.html
Sent from the Camel - Users mailing list archive at Nabble.com.
hi . i integrated the quartz for the future remainder so its executing
good..but now i need to reset the quartz cron expression .when i try to stop
using root id and starting again then its added to existing quartz job.
this is my code for creating
public class test
{
CamelContext context =
hi. after setting repeatcount=1 then also my scheduler is continuously
running.. i dont know where i made mistake.
this is my code.
public class Schedule {
public String SayService(String msg) {
return (msg);
}
public static
hi. i need to set the scheduler at run time.when i am calling quartz2 from
main method then its working fine.but when i am calling from Restful
services then its giving me exception.
this is my method which is set the quartz2 scheduler.
public void create(final String cronExp,final int day)
k..Thanks you brother..i will used m2eclipse pluggin.
--
View this message in context:
http://camel.465427.n5.nabble.com/while-integration-Scheduling-in-my-project-getting-exception-tp5743147p5743161.html
Sent from the Camel - Users mailing list archive at Nabble.com.
actually i am using eclipse.
--
View this message in context:
http://camel.465427.n5.nabble.com/while-integration-Scheduling-in-my-project-getting-exception-tp5743147p5743155.html
Sent from the Camel - Users mailing list archive at Nabble.com.
hi. my project is running fine without the scheduling but when i integrate
the scheduling in my project then i am getting following exception.
[main] INFO org.apache.camel.impl.DefaultCamelContext - Apache Camel 2.12.1
(CamelContext: camel-1) is starting
[main] INFO org.apache.camel.management.Man
after reading i implemented following code.
public class Schedule {
public static String SayService(String msg) {
System.out.println(msg);
return (msg);
}
public static void main(String args[])throws Exception
hi .actually i need to call java method on future specific time. and i am
using cron pattern for creating the time but i am not getting how to call
the my java method
This is my simple code which invoke the method
CamelContext context = new DefaultCamelContext();
context.
hi,
i am sending the email using following code.
public boolean sendEmail(JSONObject data)
{
boolean status=false;
camel = new DefaultCamelContext();
template = camel.createProducerTemplate();
now i got the solution.i am using eclipse without maven pluggin so i
included two lib file into class file but i forgot to put in apache lib for
that i got the exception after put the file into the apache lib the every
thing is working fine
--
View this message in context:
http://camel.465427
i got the solution .actually i am using eclipse and i included the lib into
class path so its working when i call from main method but when i call from
rest services then i am got the exception so i put the lib file into the
apache lib folder so its working fine.
Thanks for helping me.
--
View
but this exception only i am getting when i invoking using rest uri
eg.
http://localhost:8080/Notification/notificationservice/sendemail
but when i am calling from main class i am not getting any exception
--
View this message in context:
http://camel.465427.n5.nabble.com/i-am-getting-exceptio
hi,
i am new in camel. i want to send the email using camel so i implemented
and its working fine when i call method for sending email . after i want to
call that method using rest services and then when i calling rest services
then i am getting the following response.
Oct 22, 2013 12:43:05 PM o
16 matches
Mail list logo