diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..00723545
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+application.log
diff --git a/applications/cafe/.project b/applications/cafe/.project
index 06332d4f..de45ba20 100644
--- a/applications/cafe/.project
+++ b/applications/cafe/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.maven.ide.eclipse.maven2Nature
org.eclipse.jdt.core.javanature
diff --git a/applications/cafe/.settings/org.springframework.ide.eclipse.beans.core.prefs b/applications/cafe/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..faea8603
--- /dev/null
+++ b/applications/cafe/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:35:34 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/applications/cafe/.springBeans b/applications/cafe/.springBeans
new file mode 100644
index 00000000..0d2e905c
--- /dev/null
+++ b/applications/cafe/.springBeans
@@ -0,0 +1,15 @@
+
+
+ 1
+
+
+
+
+
+
+ src/main/resources/META-INF/spring/integration/cafeDemo-annotation.xml
+ src/main/resources/META-INF/spring/integration/cafeDemo-xml.xml
+
+
+
+
diff --git a/applications/cafe/src/test/java/org/springframework/integration/samples/cafe/annotation/CafeDemoAnnotationConfiguredTest.java b/applications/cafe/src/main/java/org/springframework/integration/samples/cafe/annotation/CafeDemoApp.java
similarity index 89%
rename from applications/cafe/src/test/java/org/springframework/integration/samples/cafe/annotation/CafeDemoAnnotationConfiguredTest.java
rename to applications/cafe/src/main/java/org/springframework/integration/samples/cafe/annotation/CafeDemoApp.java
index 11766fa6..460943f3 100644
--- a/applications/cafe/src/test/java/org/springframework/integration/samples/cafe/annotation/CafeDemoAnnotationConfiguredTest.java
+++ b/applications/cafe/src/main/java/org/springframework/integration/samples/cafe/annotation/CafeDemoApp.java
@@ -16,7 +16,6 @@
package org.springframework.integration.samples.cafe.annotation;
-import org.junit.Test;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.integration.samples.cafe.Cafe;
@@ -33,12 +32,11 @@ import org.springframework.integration.samples.cafe.Order;
* @author Mark Fisher
* @author Marius Bogoevici
*/
-public class CafeDemoAnnotationConfiguredTest {
+public class CafeDemoApp {
- @Test
- public void testCafeDemoWithAnnotationSupport() {
+ public static void main(String[] args) {
AbstractApplicationContext context =
- new ClassPathXmlApplicationContext("/META-INF/spring/integration/cafeDemo-annotation.xml", CafeDemoAnnotationConfiguredTest.class);
+ new ClassPathXmlApplicationContext("/META-INF/spring/integration/cafeDemo-annotation.xml", CafeDemoApp.class);
Cafe cafe = (Cafe) context.getBean("cafe");
for (int i = 1; i <= 100; i++) {
diff --git a/applications/cafe/src/test/java/org/springframework/integration/samples/cafe/xml/CafeDemoXmlConfiguredTest.java b/applications/cafe/src/main/java/org/springframework/integration/samples/cafe/xml/CafeDemoApp.java
similarity index 92%
rename from applications/cafe/src/test/java/org/springframework/integration/samples/cafe/xml/CafeDemoXmlConfiguredTest.java
rename to applications/cafe/src/main/java/org/springframework/integration/samples/cafe/xml/CafeDemoApp.java
index 8cece8cd..d05e4a21 100644
--- a/applications/cafe/src/test/java/org/springframework/integration/samples/cafe/xml/CafeDemoXmlConfiguredTest.java
+++ b/applications/cafe/src/main/java/org/springframework/integration/samples/cafe/xml/CafeDemoApp.java
@@ -36,12 +36,11 @@ import org.springframework.integration.samples.cafe.Order;
* @author Marius Bogoevici
* @author Oleg Zhurakousky
*/
-public class CafeDemoXmlConfiguredTest {
+public class CafeDemoApp {
- @Test
- public void testCafeDemoWithXmlSupport() {
+ public static void main(String[] args) {
AbstractApplicationContext context =
- new ClassPathXmlApplicationContext("/META-INF/spring/integration/cafeDemo-xml.xml", CafeDemoXmlConfiguredTest.class);
+ new ClassPathXmlApplicationContext("/META-INF/spring/integration/cafeDemo-xml.xml", CafeDemoApp.class);
Cafe cafe = (Cafe) context.getBean("cafe");
for (int i = 1; i <= 100; i++) {
diff --git a/applications/loan-broker/.springBeans b/applications/loan-broker/.springBeans
index 15608f30..c2c2589d 100644
--- a/applications/loan-broker/.springBeans
+++ b/applications/loan-broker/.springBeans
@@ -1,12 +1,17 @@
1
-
+
-
+
+ src/main/resources/META-INF/spring/integration/loan-broker-config.xml
+ src/main/resources/META-INF/spring/integration/shark-detector-config.xml
+ src/main/resources/META-INF/spring/integration/stub-services-config.xml
+ src/main/resources/META-INF/spring/integration/bootstrap-config/stubbed-loan-broker-multicast.xml
+ src/main/resources/META-INF/spring/integration/bootstrap-config/stubbed-loan-broker.xml
diff --git a/applications/loan-broker/pom.xml b/applications/loan-broker/pom.xml
index b934f580..6b373a5b 100644
--- a/applications/loan-broker/pom.xml
+++ b/applications/loan-broker/pom.xml
@@ -37,15 +37,6 @@
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- **/*Demo.java
-
-
-
org.apache.maven.plugins
maven-compiler-plugin
diff --git a/applications/loan-broker/src/test/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerDemo.java b/applications/loan-broker/src/main/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerDemo.java
similarity index 98%
rename from applications/loan-broker/src/test/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerDemo.java
rename to applications/loan-broker/src/main/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerDemo.java
index be542ed0..35ef6a74 100644
--- a/applications/loan-broker/src/test/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerDemo.java
+++ b/applications/loan-broker/src/main/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerDemo.java
@@ -19,8 +19,6 @@ package org.springframework.integration.samples.loanbroker.demo;
import java.util.List;
import org.apache.log4j.Logger;
-import org.junit.Test;
-
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.integration.samples.loanbroker.LoanBrokerGateway;
@@ -39,7 +37,6 @@ public class LoanBrokerDemo {
new LoanBrokerDemo().runDemo();
}
- @Test
public void runDemo() {
ApplicationContext context = new ClassPathXmlApplicationContext("META-INF/spring/integration/bootstrap-config/stubbed-loan-broker.xml");
LoanBrokerGateway broker = context.getBean("loanBrokerGateway", LoanBrokerGateway.class);
diff --git a/applications/loan-broker/src/test/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerSharkDetectorDemo.java b/applications/loan-broker/src/main/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerSharkDetectorDemo.java
similarity index 96%
rename from applications/loan-broker/src/test/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerSharkDetectorDemo.java
rename to applications/loan-broker/src/main/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerSharkDetectorDemo.java
index 45251fa8..daef1504 100644
--- a/applications/loan-broker/src/test/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerSharkDetectorDemo.java
+++ b/applications/loan-broker/src/main/java/org/springframework/integration/samples/loanbroker/demo/LoanBrokerSharkDetectorDemo.java
@@ -19,8 +19,6 @@ package org.springframework.integration.samples.loanbroker.demo;
import java.util.List;
import org.apache.log4j.Logger;
-import org.junit.Test;
-
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.integration.samples.loanbroker.LoanBrokerGateway;
@@ -35,8 +33,7 @@ public class LoanBrokerSharkDetectorDemo {
private static Logger logger = Logger.getLogger(LoanBrokerSharkDetectorDemo.class);
- @Test
- public void testUdpMulticast() {
+ public static void main(String[] args) {
ConfigurableApplicationContext context =
new ClassPathXmlApplicationContext("META-INF/spring/integration/bootstrap-config/stubbed-loan-broker-multicast.xml");
LoanBrokerGateway broker = context.getBean("loanBrokerGateway", LoanBrokerGateway.class);
diff --git a/applications/loan-broker/src/main/resources/log4j.xml b/applications/loan-broker/src/main/resources/log4j.xml
new file mode 100644
index 00000000..678b69b3
--- /dev/null
+++ b/applications/loan-broker/src/main/resources/log4j.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/applications/loanshark/.settings/org.eclipse.ajdt.core.prefs b/applications/loanshark/.settings/org.eclipse.ajdt.core.prefs
new file mode 100644
index 00000000..f0449307
--- /dev/null
+++ b/applications/loanshark/.settings/org.eclipse.ajdt.core.prefs
@@ -0,0 +1,43 @@
+#Thu Dec 16 10:47:10 GMT 2010
+eclipse.preferences.version=1
+org.aspectj.ajdt.core.compiler.BuildOptions.showweavemessages=false
+org.aspectj.ajdt.core.compiler.lint.BrokeSerialVersionCompatibility=ignore
+org.aspectj.ajdt.core.compiler.lint.CannotImplementLazyTJP=ignore
+org.aspectj.ajdt.core.compiler.lint.InvalidAbsoluteTypeName=warning
+org.aspectj.ajdt.core.compiler.lint.NeedSerialVersionUIDField=ignore
+org.aspectj.ajdt.core.compiler.lint.NoInterfaceCtorJoinpoint=warning
+org.aspectj.ajdt.core.compiler.lint.ShadowNotInStructure=ignore
+org.aspectj.ajdt.core.compiler.lint.TypeNotExposedToWeaver=warning
+org.aspectj.ajdt.core.compiler.lint.UnresolvableMember=warning
+org.aspectj.ajdt.core.compiler.lint.WildcardTypeName=ignore
+org.aspectj.ajdt.core.compiler.lint.adviceDidNotMatch=warning
+org.aspectj.ajdt.core.compiler.lint.annotationAsTargetForDecpIgnored=warning
+org.aspectj.ajdt.core.compiler.lint.calculatingSerialVersionUID=ignore
+org.aspectj.ajdt.core.compiler.lint.cantFindType=error
+org.aspectj.ajdt.core.compiler.lint.cantFindTypeAffectingJPMatch=warning
+org.aspectj.ajdt.core.compiler.lint.cantMatchArrayTypeOnVarargs=ignore
+org.aspectj.ajdt.core.compiler.lint.elementAlreadyAnnotated=warning
+org.aspectj.ajdt.core.compiler.lint.enumAsTargetForDecpIgnored=warning
+org.aspectj.ajdt.core.compiler.lint.invalidTargetForAnnotation=warning
+org.aspectj.ajdt.core.compiler.lint.multipleAdviceStoppingLazyTjp=ignore
+org.aspectj.ajdt.core.compiler.lint.noExplicitConstructorCall=warning
+org.aspectj.ajdt.core.compiler.lint.noGuardForLazyTjp=ignore
+org.aspectj.ajdt.core.compiler.lint.noJoinpointsForBridgeMethods=warning
+org.aspectj.ajdt.core.compiler.lint.runtimeExceptionNotSoftened=warning
+org.aspectj.ajdt.core.compiler.lint.swallowedExceptionInCatchBlock=ignore
+org.aspectj.ajdt.core.compiler.lint.uncheckedAdviceConversion=warning
+org.aspectj.ajdt.core.compiler.lint.uncheckedArgument=warning
+org.aspectj.ajdt.core.compiler.lint.unmatchedTargetKind=warning
+org.aspectj.ajdt.core.compiler.lint.unorderedAdviceAtShadow=ignore
+org.aspectj.ajdt.core.compiler.list.UnmatchedSuperTypeInCall=warning
+org.aspectj.ajdt.core.compiler.weaver.XHasMember=false
+org.aspectj.ajdt.core.compiler.weaver.XNoInline=false
+org.aspectj.ajdt.core.compiler.weaver.XNotReweavable=false
+org.aspectj.ajdt.core.compiler.weaver.XSerializableAspects=false
+org.aspectj.ajdt.core.compiler.weaver.outxml=true
+org.aspectj.ajdt.core.compiler.weaver.timers=false
+org.aspectj.ajdt.core.compiler.weaver.verbose=false
+org.aspectj.ajdt.core.complier.lint.aspectExcludedByConfiguration=ignore
+org.eclipse.ajdt.core.builder.incrementalCompilationOptimizations=true
+org.eclipse.ajdt.core.compiler.nonStandardOptions=
+org.eclipse.ajdt.core.compiler.useProjectSettings=true
diff --git a/basic/feed/.project b/basic/feed/.project
index 944a8349..b9cf18f0 100644
--- a/basic/feed/.project
+++ b/basic/feed/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/feed/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/feed/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..1a41ab3c
--- /dev/null
+++ b/basic/feed/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:46:51 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/feed/.springBeans b/basic/feed/.springBeans
new file mode 100644
index 00000000..66cadae3
--- /dev/null
+++ b/basic/feed/.springBeans
@@ -0,0 +1,14 @@
+
+
+ 1
+
+
+
+
+
+
+ src/test/resources/META-INF/spring/integration/FeedInboundChannelAdapterSample-context.xml
+
+
+
+
diff --git a/basic/ftp/.project b/basic/ftp/.project
index 6ab1f1ed..f582aeed 100644
--- a/basic/ftp/.project
+++ b/basic/ftp/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/ftp/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/ftp/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..f1fc7425
--- /dev/null
+++ b/basic/ftp/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:47:04 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/ftp/.springBeans b/basic/ftp/.springBeans
new file mode 100644
index 00000000..83b3d2f4
--- /dev/null
+++ b/basic/ftp/.springBeans
@@ -0,0 +1,15 @@
+
+
+ 1
+
+
+
+
+
+
+ src/test/resources/META-INF/spring/integration/FtpInboundChannelAdapterSample-context.xml
+ src/test/resources/META-INF/spring/integration/FtpOutboundChannelAdapterSample-context.xml
+
+
+
+
diff --git a/basic/helloworld/src/test/java/org/springframework/integration/samples/helloworld/DelayerTest.java b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/DelayerApp.java
similarity index 92%
rename from basic/helloworld/src/test/java/org/springframework/integration/samples/helloworld/DelayerTest.java
rename to basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/DelayerApp.java
index 71b98e59..804466eb 100644
--- a/basic/helloworld/src/test/java/org/springframework/integration/samples/helloworld/DelayerTest.java
+++ b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/DelayerApp.java
@@ -2,7 +2,7 @@ package org.springframework.integration.samples.helloworld;
import org.springframework.context.support.ClassPathXmlApplicationContext;
-public class DelayerTest {
+public class DelayerApp {
/**
* @param args
diff --git a/basic/helloworld/src/test/java/org/springframework/integration/samples/helloworld/HelloWorldDemoTest.java b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloWorldApp.java
similarity index 91%
rename from basic/helloworld/src/test/java/org/springframework/integration/samples/helloworld/HelloWorldDemoTest.java
rename to basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloWorldApp.java
index a5266a6e..b4b47a4e 100644
--- a/basic/helloworld/src/test/java/org/springframework/integration/samples/helloworld/HelloWorldDemoTest.java
+++ b/basic/helloworld/src/main/java/org/springframework/integration/samples/helloworld/HelloWorldApp.java
@@ -17,7 +17,6 @@
package org.springframework.integration.samples.helloworld;
import org.apache.log4j.Logger;
-import org.junit.Test;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.integration.MessageChannel;
@@ -38,13 +37,12 @@ import org.springframework.integration.message.GenericMessage;
* @author Mark Fisher
* @author Oleg Zhurakousky
*/
-public class HelloWorldDemoTest {
+public class HelloWorldApp {
- private static Logger logger = Logger.getLogger(HelloWorldDemoTest.class);
+ private static Logger logger = Logger.getLogger(HelloWorldApp.class);
- @Test
- public void testHelloWorld(){
- AbstractApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/helloWorldDemo.xml", HelloWorldDemoTest.class);
+ public static void main(String[] args) {
+ AbstractApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/helloWorldDemo.xml", HelloWorldApp.class);
MessageChannel inputChannel = context.getBean("inputChannel", MessageChannel.class);
PollableChannel outputChannel = context.getBean("outputChannel", PollableChannel.class);
inputChannel.send(new GenericMessage("World"));
diff --git a/basic/helloworld/src/test/resources/log4j.properties b/basic/helloworld/src/main/resources/log4j.properties
similarity index 100%
rename from basic/helloworld/src/test/resources/log4j.properties
rename to basic/helloworld/src/main/resources/log4j.properties
diff --git a/basic/helloworld/src/test/resources/log4j.xml b/basic/helloworld/src/main/resources/log4j.xml
similarity index 100%
rename from basic/helloworld/src/test/resources/log4j.xml
rename to basic/helloworld/src/main/resources/log4j.xml
diff --git a/basic/jms/.project b/basic/jms/.project
index f21c4696..af3f327f 100644
--- a/basic/jms/.project
+++ b/basic/jms/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/jms/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/jms/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..76c0ef47
--- /dev/null
+++ b/basic/jms/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:47:31 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/jms/.springBeans b/basic/jms/.springBeans
index 7dbdff8c..915bb7ad 100644
--- a/basic/jms/.springBeans
+++ b/basic/jms/.springBeans
@@ -1,13 +1,17 @@
1
-
+
-
+
- src/test/java/org/springframework/integration/samples/jms/config.xml
+ src/main/resources/META-INF/spring/integration/common.xml
+ src/main/resources/META-INF/spring/integration/inboundChannelAdapter.xml
+ src/main/resources/META-INF/spring/integration/inboundGateway.xml
+ src/main/resources/META-INF/spring/integration/outboundChannelAdapter.xml
+ src/main/resources/META-INF/spring/integration/outboundGateway.xml
diff --git a/basic/mail/.classpath b/basic/mail/.classpath
index 88e8723a..e795a3c4 100644
--- a/basic/mail/.classpath
+++ b/basic/mail/.classpath
@@ -3,6 +3,7 @@
+
diff --git a/basic/mail/src/test/java/org/springframework/integration/samples/mail/imapidle/GmailInboundImapIdleAdapterTest.java b/basic/mail/src/main/java/org/springframework/integration/samples/mail/imapidle/GmailInboundImapIdleAdapterTestApp.java
similarity index 92%
rename from basic/mail/src/test/java/org/springframework/integration/samples/mail/imapidle/GmailInboundImapIdleAdapterTest.java
rename to basic/mail/src/main/java/org/springframework/integration/samples/mail/imapidle/GmailInboundImapIdleAdapterTestApp.java
index 391dac00..5f4f86f4 100644
--- a/basic/mail/src/test/java/org/springframework/integration/samples/mail/imapidle/GmailInboundImapIdleAdapterTest.java
+++ b/basic/mail/src/main/java/org/springframework/integration/samples/mail/imapidle/GmailInboundImapIdleAdapterTestApp.java
@@ -15,8 +15,8 @@ import org.springframework.integration.core.MessageHandler;
* @author Oleg Zhurakousky
*
*/
-public class GmailInboundImapIdleAdapterTest {
- private static Logger logger = Logger.getLogger(GmailInboundImapIdleAdapterTest.class);
+public class GmailInboundImapIdleAdapterTestApp {
+ private static Logger logger = Logger.getLogger(GmailInboundImapIdleAdapterTestApp.class);
public static void main (String[] args) throws Exception {
diff --git a/basic/mail/src/test/java/org/springframework/integration/samples/mail/imapidle/GmailInboundPop3AdapterTest.java b/basic/mail/src/main/java/org/springframework/integration/samples/mail/imapidle/GmailInboundPop3AdapterTestApp.java
similarity index 93%
rename from basic/mail/src/test/java/org/springframework/integration/samples/mail/imapidle/GmailInboundPop3AdapterTest.java
rename to basic/mail/src/main/java/org/springframework/integration/samples/mail/imapidle/GmailInboundPop3AdapterTestApp.java
index 1b36392e..cbc6d8bc 100644
--- a/basic/mail/src/test/java/org/springframework/integration/samples/mail/imapidle/GmailInboundPop3AdapterTest.java
+++ b/basic/mail/src/main/java/org/springframework/integration/samples/mail/imapidle/GmailInboundPop3AdapterTestApp.java
@@ -15,9 +15,9 @@ import org.springframework.integration.core.MessageHandler;
* @author Oleg Zhurakousky
*
*/
-public class GmailInboundPop3AdapterTest {
- private static Logger logger = Logger.getLogger(GmailInboundPop3AdapterTest.class);
+public class GmailInboundPop3AdapterTestApp {
+ private static Logger logger = Logger.getLogger(GmailInboundPop3AdapterTestApp.class);
public static void main (String[] args) throws Exception {
ApplicationContext ac = new ClassPathXmlApplicationContext("/META-INF/spring/integration/gmail-pop3-config.xml");
diff --git a/basic/oddeven/.project b/basic/oddeven/.project
index 7d3fb088..649a6223 100644
--- a/basic/oddeven/.project
+++ b/basic/oddeven/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/oddeven/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/oddeven/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..488c20ce
--- /dev/null
+++ b/basic/oddeven/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:43:04 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/oddeven/.springBeans b/basic/oddeven/.springBeans
new file mode 100644
index 00000000..0856aa6d
--- /dev/null
+++ b/basic/oddeven/.springBeans
@@ -0,0 +1,15 @@
+
+
+ 1
+
+
+
+
+
+
+ src/main/resources/META-INF/spring/integration/cronOddEvenDemo.xml
+ src/main/resources/META-INF/spring/integration/intervalOddEvenDemo.xml
+
+
+
+
diff --git a/basic/oddeven/src/test/java/org/springframework/integration/samples/oddeven/CronOddEvenDemo.java b/basic/oddeven/src/main/java/org/springframework/integration/samples/oddeven/CronOddEvenDemo.java
similarity index 100%
rename from basic/oddeven/src/test/java/org/springframework/integration/samples/oddeven/CronOddEvenDemo.java
rename to basic/oddeven/src/main/java/org/springframework/integration/samples/oddeven/CronOddEvenDemo.java
diff --git a/basic/oddeven/src/test/java/org/springframework/integration/samples/oddeven/IntervalOddEvenDemoTest.java b/basic/oddeven/src/main/java/org/springframework/integration/samples/oddeven/IntervalOddEvenDemoTestApp.java
similarity index 93%
rename from basic/oddeven/src/test/java/org/springframework/integration/samples/oddeven/IntervalOddEvenDemoTest.java
rename to basic/oddeven/src/main/java/org/springframework/integration/samples/oddeven/IntervalOddEvenDemoTestApp.java
index b3ca538a..f1bd7c40 100644
--- a/basic/oddeven/src/test/java/org/springframework/integration/samples/oddeven/IntervalOddEvenDemoTest.java
+++ b/basic/oddeven/src/main/java/org/springframework/integration/samples/oddeven/IntervalOddEvenDemoTestApp.java
@@ -31,10 +31,10 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
*
* @author Mark Fisher
*/
-public class IntervalOddEvenDemoTest {
+public class IntervalOddEvenDemoTestApp {
public static void main(String[] args) {
- new ClassPathXmlApplicationContext("/META-INF/spring/integration/intervalOddEvenDemo.xml", IntervalOddEvenDemoTest.class);
+ new ClassPathXmlApplicationContext("/META-INF/spring/integration/intervalOddEvenDemo.xml", IntervalOddEvenDemoTestApp.class);
}
}
diff --git a/basic/oddeven/src/test/resources/log4j.xml b/basic/oddeven/src/main/resources/log4j.xml
similarity index 100%
rename from basic/oddeven/src/test/resources/log4j.xml
rename to basic/oddeven/src/main/resources/log4j.xml
diff --git a/basic/quote/.project b/basic/quote/.project
index bcc67949..77d54f14 100644
--- a/basic/quote/.project
+++ b/basic/quote/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/quote/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/quote/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..80211e83
--- /dev/null
+++ b/basic/quote/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:47:43 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/quote/.springBeans b/basic/quote/.springBeans
new file mode 100644
index 00000000..d21d913f
--- /dev/null
+++ b/basic/quote/.springBeans
@@ -0,0 +1,14 @@
+
+
+ 1
+
+
+
+
+
+
+ src/main/resources/META-INF/spring/integration/quoteDemo.xml
+
+
+
+
diff --git a/basic/sftp/.project b/basic/sftp/.project
index 9dc67310..6360286f 100644
--- a/basic/sftp/.project
+++ b/basic/sftp/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/sftp/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/sftp/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..debd745d
--- /dev/null
+++ b/basic/sftp/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:47:53 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/sftp/.springBeans b/basic/sftp/.springBeans
new file mode 100644
index 00000000..23839c7b
--- /dev/null
+++ b/basic/sftp/.springBeans
@@ -0,0 +1,15 @@
+
+
+ 1
+
+
+
+
+
+
+ src/test/resources/META-INF/spring/integration/SftpInboundReceiveSample-context.xml
+ src/test/resources/META-INF/spring/integration/SftpOutboundTransferSample-context.xml
+
+
+
+
diff --git a/basic/ws-outbound-gateway/.classpath b/basic/ws-outbound-gateway/.classpath
index 3b213f9d..fe380d13 100644
--- a/basic/ws-outbound-gateway/.classpath
+++ b/basic/ws-outbound-gateway/.classpath
@@ -1,8 +1,9 @@
-
+
+
diff --git a/basic/ws-outbound-gateway/.project b/basic/ws-outbound-gateway/.project
index 9730b83f..78a96960 100644
--- a/basic/ws-outbound-gateway/.project
+++ b/basic/ws-outbound-gateway/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/ws-outbound-gateway/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/ws-outbound-gateway/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..e7d060a2
--- /dev/null
+++ b/basic/ws-outbound-gateway/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:45:21 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/ws-outbound-gateway/.springBeans b/basic/ws-outbound-gateway/.springBeans
new file mode 100644
index 00000000..9c8703ba
--- /dev/null
+++ b/basic/ws-outbound-gateway/.springBeans
@@ -0,0 +1,14 @@
+
+
+ 1
+
+
+
+
+
+
+ src/main/resources/META-INF/spring/integration/temperatureConversion.xml
+
+
+
+
diff --git a/basic/ws-outbound-gateway/src/test/java/rg/springframework/integration/samples/ws/WebServiceDemoTest.java b/basic/ws-outbound-gateway/src/main/java/rg/springframework/integration/samples/ws/WebServiceDemoTestApp.java
similarity index 92%
rename from basic/ws-outbound-gateway/src/test/java/rg/springframework/integration/samples/ws/WebServiceDemoTest.java
rename to basic/ws-outbound-gateway/src/main/java/rg/springframework/integration/samples/ws/WebServiceDemoTestApp.java
index a1d371ab..b4167bcd 100644
--- a/basic/ws-outbound-gateway/src/test/java/rg/springframework/integration/samples/ws/WebServiceDemoTest.java
+++ b/basic/ws-outbound-gateway/src/main/java/rg/springframework/integration/samples/ws/WebServiceDemoTestApp.java
@@ -16,7 +16,6 @@
package rg.springframework.integration.samples.ws;
-import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.integration.Message;
import org.springframework.integration.MessageChannel;
@@ -31,12 +30,11 @@ import org.springframework.integration.support.channel.ChannelResolver;
*
* @author Marius Bogoevici
*/
-public class WebServiceDemoTest {
+public class WebServiceDemoTestApp {
- @Test
- public void testWsOutboundGateway() {
+ public static void main(String[] args) {
ClassPathXmlApplicationContext context =
- new ClassPathXmlApplicationContext("/META-INF/spring/integration/temperatureConversion.xml", WebServiceDemoTest.class);
+ new ClassPathXmlApplicationContext("/META-INF/spring/integration/temperatureConversion.xml");
ChannelResolver channelResolver = new BeanFactoryChannelResolver(context);
// Compose the XML message according to the server's schema
@@ -52,4 +50,5 @@ public class WebServiceDemoTest {
MessageChannel channel = channelResolver.resolveChannelName("fahrenheitChannel");
channel.send(message);
}
+
}
diff --git a/basic/ws-outbound-gateway/src/main/reources/META-INF/spring/integration/temperatureConversion.xml b/basic/ws-outbound-gateway/src/main/resources/META-INF/spring/integration/temperatureConversion.xml
similarity index 100%
rename from basic/ws-outbound-gateway/src/main/reources/META-INF/spring/integration/temperatureConversion.xml
rename to basic/ws-outbound-gateway/src/main/resources/META-INF/spring/integration/temperatureConversion.xml
diff --git a/basic/ws-outbound-gateway/src.test/resources/log4j.xml b/basic/ws-outbound-gateway/src/main/resources/log4j.xml
similarity index 100%
rename from basic/ws-outbound-gateway/src.test/resources/log4j.xml
rename to basic/ws-outbound-gateway/src/main/resources/log4j.xml
diff --git a/basic/xml/.project b/basic/xml/.project
index ccdada11..b8bc396d 100644
--- a/basic/xml/.project
+++ b/basic/xml/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/xml/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/xml/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..21375331
--- /dev/null
+++ b/basic/xml/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:46:24 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/xml/.springBeans b/basic/xml/.springBeans
new file mode 100644
index 00000000..13205b56
--- /dev/null
+++ b/basic/xml/.springBeans
@@ -0,0 +1,14 @@
+
+
+ 1
+
+
+
+
+
+
+ src/main/resources/META-INF/spring/integration/orderProcessingSample.xml
+
+
+
+
diff --git a/basic/xml/src/test/java/org/springframework/integration/samples/xml/BookOrderProcessingTest.java b/basic/xml/src/main/java/org/springframework/integration/samples/xml/BookOrderProcessingTestApp.java
similarity index 97%
rename from basic/xml/src/test/java/org/springframework/integration/samples/xml/BookOrderProcessingTest.java
rename to basic/xml/src/main/java/org/springframework/integration/samples/xml/BookOrderProcessingTestApp.java
index b407a537..d09f2e3b 100644
--- a/basic/xml/src/test/java/org/springframework/integration/samples/xml/BookOrderProcessingTest.java
+++ b/basic/xml/src/main/java/org/springframework/integration/samples/xml/BookOrderProcessingTestApp.java
@@ -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 orderMessage =
createXmlMessageFromResource("META-INF/spring/integration/order.xml");
diff --git a/basic/xml/src/test/resources/log4j.xml b/basic/xml/src/main/resources/log4j.xml
similarity index 100%
rename from basic/xml/src/test/resources/log4j.xml
rename to basic/xml/src/main/resources/log4j.xml
diff --git a/basic/xmpp/.project b/basic/xmpp/.project
index 236c11eb..e9090a5c 100644
--- a/basic/xmpp/.project
+++ b/basic/xmpp/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/basic/xmpp/.settings/org.springframework.ide.eclipse.beans.core.prefs b/basic/xmpp/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..0bff7a26
--- /dev/null
+++ b/basic/xmpp/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:48:18 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/basic/xmpp/.springBeans b/basic/xmpp/.springBeans
new file mode 100644
index 00000000..1c5ebc07
--- /dev/null
+++ b/basic/xmpp/.springBeans
@@ -0,0 +1,15 @@
+
+
+ 1
+
+
+
+
+
+
+ src/test/resources/META-INF/spring/integration/ReceiveInstantMessageSample-context.xml
+ src/test/resources/META-INF/spring/integration/SendInstantMessageSample-context.xml
+
+
+
+
diff --git a/intermediate/errorhandling/.project b/intermediate/errorhandling/.project
index d9402a70..42509227 100644
--- a/intermediate/errorhandling/.project
+++ b/intermediate/errorhandling/.project
@@ -15,8 +15,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.eclipse.jdt.core.javanature
org.maven.ide.eclipse.maven2Nature
diff --git a/intermediate/errorhandling/.settings/org.springframework.ide.eclipse.beans.core.prefs b/intermediate/errorhandling/.settings/org.springframework.ide.eclipse.beans.core.prefs
new file mode 100644
index 00000000..49d1abf5
--- /dev/null
+++ b/intermediate/errorhandling/.settings/org.springframework.ide.eclipse.beans.core.prefs
@@ -0,0 +1,3 @@
+#Fri Dec 17 11:48:33 GMT 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
diff --git a/intermediate/errorhandling/.springBeans b/intermediate/errorhandling/.springBeans
new file mode 100644
index 00000000..033c7971
--- /dev/null
+++ b/intermediate/errorhandling/.springBeans
@@ -0,0 +1,14 @@
+
+
+ 1
+
+
+
+
+
+
+ src/main/resources/META-INF/spring/integration/errorHandlingDemo.xml
+
+
+
+
diff --git a/intermediate/multipart-http/.project b/intermediate/multipart-http/.project
index bb41683c..1aa0542b 100644
--- a/intermediate/multipart-http/.project
+++ b/intermediate/multipart-http/.project
@@ -30,8 +30,14 @@
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+ org.springframework.ide.eclipse.core.springnature
org.maven.ide.eclipse.maven2Nature
org.eclipse.jem.workbench.JavaEMFNature
org.eclipse.wst.common.modulecore.ModuleCoreNature