Changes to make 'mvn clean test' succeed, add .springBean configuration where missing.
This commit is contained in:
@@ -15,8 +15,14 @@
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.springframework.ide.eclipse.core.springbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.springframework.ide.eclipse.core.springnature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.maven.ide.eclipse.maven2Nature</nature>
|
||||
</natures>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#Fri Dec 17 11:46:24 GMT 2010
|
||||
eclipse.preferences.version=1
|
||||
org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
|
||||
14
basic/xml/.springBeans
Normal file
14
basic/xml/.springBeans
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beansProjectDescription>
|
||||
<version>1</version>
|
||||
<pluginVersion><![CDATA[2.5.1.201011101000-RELEASE]]></pluginVersion>
|
||||
<configSuffixes>
|
||||
<configSuffix><![CDATA[xml]]></configSuffix>
|
||||
</configSuffixes>
|
||||
<enableImports><![CDATA[true]]></enableImports>
|
||||
<configs>
|
||||
<config>src/main/resources/META-INF/spring/integration/orderProcessingSample.xml</config>
|
||||
</configs>
|
||||
<configSets>
|
||||
</configSets>
|
||||
</beansProjectDescription>
|
||||
@@ -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