Examples of JobConfigurationRequest


Examples of org.springframework.batch.admin.integration.JobConfigurationRequest

    MessagingTemplate gateway = new MessagingTemplate();
    gateway.setReceiveTimeout(500L);
    gateway.afterPropertiesSet();

    JobConfigurationRequest request = new JobConfigurationRequest();
    request.setXml(IOUtils.toString(new ClassPathResource("/staging-context.xml").getInputStream()));
    gateway.convertAndSend(requests, request);
    assertNotNull("Time out waiting for reply", result);
     assertEquals("[staging]", result.toString());
    
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.