Package org.apache.servicemix.quartz

Examples of org.apache.servicemix.quartz.QuartzEndpoint


            }
            String endpointName = (String) context.getJobDetail().getJobDataMap().get(ENDPOINT_NAME);
            if (endpointName == null) {
                throw new JobExecutionException("No property '" + ENDPOINT_NAME + "' defined. Bad job data map");
            }
            QuartzEndpoint endpoint = (QuartzEndpoint) component.getRegistry().getEndpoint(endpointName);
            if (endpoint == null) {
                throw new JobExecutionException("No quartz JBI endpoint available for key: " + endpointName + "."
                        + " Bad job data map");
            }
            endpoint.onJobExecute(context);
        } catch (SchedulerException e) {
            throw new JobExecutionException(e);
        }
    }
View Full Code Here


            }
            String endpointName = (String) context.getJobDetail().getJobDataMap().get(ENDPOINT_NAME);
            if (endpointName == null) {
                throw new JobExecutionException("No property '" + ENDPOINT_NAME + "' defined. Bad job data map");
            }
            QuartzEndpoint endpoint = (QuartzEndpoint) component.getRegistry().getEndpoint(endpointName);
            if (endpoint == null) {
                throw new JobExecutionException("No quartz JBI endpoint available for key: " + endpointName + ". Bad job data map");
            }
            endpoint.onJobExecute(context);
        } catch (SchedulerException e) {
            throw new JobExecutionException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.quartz.QuartzEndpoint

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.