Changes to make 'mvn clean test' succeed, add .springBean configuration where missing.
This commit is contained in:
@@ -49,12 +49,12 @@ import org.springframework.integration.message.GenericMessage;
|
||||
*
|
||||
* @author Jonas Partner
|
||||
*/
|
||||
public class BookOrderProcessingTest {
|
||||
public class BookOrderProcessingTestApp {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
AbstractApplicationContext applicationContext =
|
||||
new ClassPathXmlApplicationContext("/META-INF/spring/integration/orderProcessingSample.xml",
|
||||
BookOrderProcessingTest.class);
|
||||
BookOrderProcessingTestApp.class);
|
||||
MessageChannel messageChannel = (MessageChannel) applicationContext.getBean("ordersChannel");
|
||||
GenericMessage<Document> orderMessage =
|
||||
createXmlMessageFromResource("META-INF/spring/integration/order.xml");
|
||||
Reference in New Issue
Block a user