Search in sources :

Example 1 with FixedFrequencyScheduler

use of org.mule.runtime.core.api.source.scheduler.FixedFrequencyScheduler in project mule by mulesoft.

the class DefaultSchedulerMessageSourceTestCase method scheduler.

private FixedFrequencyScheduler scheduler() {
    FixedFrequencyScheduler factory = new FixedFrequencyScheduler();
    factory.setFrequency(1000);
    return factory;
}
Also used : FixedFrequencyScheduler(org.mule.runtime.core.api.source.scheduler.FixedFrequencyScheduler)

Example 2 with FixedFrequencyScheduler

use of org.mule.runtime.core.api.source.scheduler.FixedFrequencyScheduler in project mule by mulesoft.

the class SchedulingMessageSourceFactoryBean method defaultScheduler.

private FixedFrequencyScheduler defaultScheduler() {
    FixedFrequencyScheduler factory = new FixedFrequencyScheduler();
    factory.setFrequency(DEFAULT_FREQUENCY);
    return factory;
}
Also used : FixedFrequencyScheduler(org.mule.runtime.core.api.source.scheduler.FixedFrequencyScheduler)

Aggregations

FixedFrequencyScheduler (org.mule.runtime.core.api.source.scheduler.FixedFrequencyScheduler)2