Camel Quartz 사용하기

*** Maven Dependency 설정 ***
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-core</artifactId>
            <version>2.11.4</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-spring</artifactId>
            <version>2.11.4</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-quartz</artifactId>
            <version>2.11.4</version>
        </dependency>

*** 쿼츠 URI 포맷 ***
quartz://groupName/timerName?cron=expression
quartz://timerName?cron=expression

*** 쿼츠 설정하는 자바 소스 예제 ***
import org.apache.camel.spring.SpringRouteBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class QuartzMain extends SpringRouteBuilder
{
    @Autowired
    private QuartzProcess quartzProcess;
   
    public void configure() throws Exception
    {
        from("quartz://message/?cron=0+1/10+*+*+*+?" ).bean(quartzProcess, "proc");
    }   
}