Package org.mule.transport.quartz.jobs

Examples of org.mule.transport.quartz.jobs.ScheduledDispatchJobConfig


    @Test
    public void testSendToCustomEventScheduler() throws Exception
    {
        MuleClient client = muleContext.getClient();

        ScheduledDispatchJobConfig jobConfig = new ScheduledDispatchJobConfig();
        jobConfig.setMuleContext(muleContext);
        jobConfig.setEndpointRef("vm://resultQueue");
        client.dispatch("vm://customJobQueue", jobConfig, null);

        MuleMessage result = client.request("vm://resultQueue", TIMEOUT);
        assertNotNull(result);
        assertTrue(result.getPayload() instanceof ScheduledDispatchJobConfig);
View Full Code Here

TOP

Related Classes of org.mule.transport.quartz.jobs.ScheduledDispatchJobConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.