-
1. Re: Regarding switchyard-as7-0.8 (camel-quartz-binding)
mageshbk May 27, 2013 11:50 PM (in response to ferdaus87)1 of 1 people found this helpfulHi Muhammad,
In the SwitchYard editor, if you go to properties of that reference binding you can see the text box for editing the cron parameter. I have changed it successfully to
0 0/5 12-18 ? * MON-FRI
and saved it. Here is a screenshot of the same.
-
2. Re: Regarding switchyard-as7-0.8 (camel-quartz-binding)
mageshbk May 27, 2013 11:52 PM (in response to mageshbk)1 of 1 people found this helpfulBe sure to check the syntax here:
http://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger
-
3. Re: Regarding switchyard-as7-0.8 (camel-quartz-binding)
ferdaus87 May 28, 2013 12:03 AM (in response to mageshbk)Hi Magesh,
Thanks a lot for your reply.
I tried the steps as you mentioned.
But when I start the server,the cron still fires based on default value and not the edited one.(Default value is firing for each seconds).
Do you face the same problem when you start the server?
Thanks in advance.
-
4. Re: Regarding switchyard-as7-0.8 (camel-quartz-binding)
mageshbk May 28, 2013 12:14 AM (in response to ferdaus87)Muhammad,
After you change that value, the CamelQuartzBindingTest will fail and hence the new updated jar is not deployed to the server yet. Modify the test like this and it should be fine
final LinkedBlockingQueue<Exchange> recievedMessages = greetingService.getMessages(); assertThat(recievedMessages, is(notNullValue())); //assertThat(recievedMessages.size(), is(greaterThanOrEqualTo(1)));
regards,
Magesh
-
5. Re: Regarding switchyard-as7-0.8 (camel-quartz-binding)
ferdaus87 May 28, 2013 12:23 AM (in response to mageshbk)Hi Magesh,
It working well Magesh.
Thanks a lot for your help and guide.
I do appreciate it very much.
-
6. Re: Regarding switchyard-as7-0.8 (camel-quartz-binding)
ferdaus87 May 29, 2013 4:13 AM (in response to mageshbk)Hello Magesh,
I want to ask one doubt rgarding this switchyard-as7-0.8 (camel-quartz-binding) project.
I need to integrate this project inside GateIn-3.5.0.Final-jbossas7 + Seam 2.3 Project.
I already change JBOSS HOME to gatein and run the project but the output is not coming.
Is there any configuratin need to be done for the integration?
And is there any switchyard portal bridge dependency need to be added in pom.xml?
Thanks.