endpoint.setEndpoint("endpoint");
endpoint.setTargetService(new QName("receiver"));
SimpleTriggerBean trigger = new SimpleTriggerBean();
trigger.setRepeatInterval(100);
trigger.setName("trigger");
trigger.afterPropertiesSet();
endpoint.setTrigger(trigger);
quartz.setEndpoints(new QuartzEndpoint[] { endpoint });
jbi.activateComponent(quartz, "servicemix-quartz");
ReceiverComponent receiver = new ReceiverComponent(new QName("receiver"), "endpoint");