You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/02/22 00:40:29 UTC

svn commit: r379627 [8/34] - in /incubator/servicemix/trunk: ./ etc/ sandbox/servicemix-wsn-1.2/src/sa/META-INF/ sandbox/servicemix-wsn-1.2/src/su/META-INF/ servicemix-assembly/ servicemix-assembly/src/main/assembly/ servicemix-assembly/src/main/releas...

Modified: incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j-tests.properties
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j-tests.properties?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j-tests.properties (original)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j-tests.properties Tue Feb 21 15:40:05 2006
@@ -1,21 +1,21 @@
-#
-# The logging properties used during tests..
-#
-log4j.rootLogger=DEBUG, out
-
-log4j.logger.org.apache.activemq=INFO
-log4j.logger.org.apache.activemq.spring=WARN
-log4j.logger.org.apache.activemq.store.journal=INFO
-log4j.logger.org.activeio.journal=INFO
-
-# CONSOLE appender not used by default
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
-
-# File appender
-log4j.appender.out=org.apache.log4j.FileAppender
-log4j.appender.out.layout=org.apache.log4j.PatternLayout
-log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
-log4j.appender.out.file=target/servicemix-test.log
-log4j.appender.out.append=true
+#
+# The logging properties used during tests..
+#
+log4j.rootLogger=DEBUG, out
+
+log4j.logger.org.apache.activemq=INFO
+log4j.logger.org.apache.activemq.spring=WARN
+log4j.logger.org.apache.activemq.store.journal=INFO
+log4j.logger.org.activeio.journal=INFO
+
+# CONSOLE appender not used by default
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
+
+# File appender
+log4j.appender.out=org.apache.log4j.FileAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
+log4j.appender.out.file=target/servicemix-test.log
+log4j.appender.out.append=true

Propchange: incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j-tests.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j.properties?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j.properties (original)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j.properties Tue Feb 21 15:40:05 2006
@@ -1,21 +1,21 @@
-#
-# The logging properties used during tests..
-#
-log4j.rootLogger=DEBUG, stdout
-
-log4j.logger.org.apache.activemq=INFO
-log4j.logger.org.apache.activemq.spring=WARN
-log4j.logger.org.apache.activemq.store.journal=INFO
-log4j.logger.org.activeio.journal=INFO
-
-# CONSOLE appender not used by default
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
-
-# File appender
-log4j.appender.out=org.apache.log4j.FileAppender
-log4j.appender.out.layout=org.apache.log4j.PatternLayout
-log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
-log4j.appender.out.file=target/servicemix-test.log
-log4j.appender.out.append=true
+#
+# The logging properties used during tests..
+#
+log4j.rootLogger=DEBUG, stdout
+
+log4j.logger.org.apache.activemq=INFO
+log4j.logger.org.apache.activemq.spring=WARN
+log4j.logger.org.apache.activemq.store.journal=INFO
+log4j.logger.org.activeio.journal=INFO
+
+# CONSOLE appender not used by default
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
+
+# File appender
+log4j.appender.out=org.apache.log4j.FileAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
+log4j.appender.out.file=target/servicemix-test.log
+log4j.appender.out.append=true

Propchange: incubator/servicemix/trunk/servicemix-common/src/test/resources/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/servicemix-components/maven.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/project.properties
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/project.properties?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/project.properties (original)
+++ incubator/servicemix/trunk/servicemix-components/project.properties Tue Feb 21 15:40:05 2006
@@ -1,20 +1,20 @@
-# -------------------------------------------------------------------
-# Copyright 2001-2004 The Apache Software Foundation.
-# 
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# 
-#      http://www.apache.org/licenses/LICENSE-2.0
-#  
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# -------------------------------------------------------------------
-# $Rev: 356022 $ $Date: 2005-12-11 12:58:34 -0800 (dim., 11 déc. 2005) $
-# -------------------------------------------------------------------
-# P R O J E C T  P R O P E R T I E S
-# -------------------------------------------------------------------
-
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+#  
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+# $Rev: 356022 $ $Date: 2005-12-11 12:58:34 -0800 (dim., 11 déc. 2005) $
+# -------------------------------------------------------------------
+# P R O J E C T  P R O P E R T I E S
+# -------------------------------------------------------------------
+

Propchange: incubator/servicemix/trunk/servicemix-components/project.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/project.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/project.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/project.xml (original)
+++ incubator/servicemix/trunk/servicemix-components/project.xml Tue Feb 21 15:40:05 2006
@@ -1,609 +1,609 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-    Copyright 2005 The Apache Software Foundation
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-    
--->
-
-<project>
-  <pomVersion>3</pomVersion>
-  <extend>${basedir}/../etc/project.xml</extend>
-  
-  <name>ServiceMix :: Components</name>
-  <id>servicemix-components</id>
-
-  <dependencies>
-
-    <dependency>
-      <groupId>${pom.groupId}</groupId>
-      <artifactId>servicemix-jbi</artifactId>
-      <version>${pom.currentVersion}</version>
-      <properties>
-        <eclipse.dependency>true</eclipse.dependency>
-      </properties>
-    </dependency>
-    <dependency>
-      <groupId>${pom.groupId}</groupId>
-      <artifactId>servicemix-core</artifactId>
-      <version>${pom.currentVersion}</version>
-      <properties>
-        <eclipse.dependency>true</eclipse.dependency>
-      </properties>
-    </dependency>
-
-    <!-- MX4J -->
-    <dependency>
-      <groupId>mx4j</groupId>
-      <artifactId>mx4j</artifactId>
-      <version>${mx4j_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>mx4j</groupId>
-      <artifactId>mx4j-remote</artifactId>
-      <version>${mx4j_remote_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>mx4j</groupId>
-      <artifactId>mx4j-tools</artifactId>
-      <version>${mx4j_tools_version}</version>
-    </dependency>
-
-    <!--For remote management tasks-->
-
-    <dependency>
-      <id>ant</id>
-      <version>${ant_version}</version>
-    </dependency>
-
-    <dependency>
-      <id>regexp</id>
-      <version>${regexp_version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>${commons_logging_version}</version>
-      <url>http://jakarta.apache.org/commons/logging/</url>
-    </dependency>
-
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-      <version>${log4j_version}</version>
-    </dependency>
-
-    <dependency>
-      <id>concurrent</id>
-      <version>${concurrent_version}</version>
-    </dependency>
-
-    <dependency>
-      <id>wsdl4j</id>
-      <version>${wsdl4j_version}</version>
-    </dependency>
-
-    <dependency>
-      <id>commons-beanutils</id>
-      <version>${commons_beanutils_version}</version>
-    </dependency>
-
-
-    <!-- for DOM, SAX, StAX and XPath support -->
-
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>jaxp</artifactId>
-      <version>${jaxp_version}</version>
-      <properties>
-        <lib>true</lib>
-      </properties>
-    </dependency>
-
-    <dependency>
-      <id>stax+api</id>
-      <version>${stax_api_version}</version>
-    </dependency>
-
-    <dependency>
-      <id>jaxen</id>
-      <version>${jaxen_version}</version>
-    </dependency>
-
-    <!-- possible StAX implementations: START -->
-
-    <!-- fast implementation of StAX -->
-    <dependency>
-      <groupId>woodstox</groupId>
-      <artifactId>wstx-asl</artifactId>
-      <version>${woodstox_version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>xerces</groupId>
-      <artifactId>xercesImpl</artifactId>
-      <version>${xercesImpl_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>xerces</groupId>
-      <artifactId>xmlParserAPIs</artifactId>
-      <version>${xerces_version}</version>
-    </dependency>
-
-    <!-- mostly included for some DOM/SAX tools we could maybe replace with JAXP versions -->
-    <dependency>
-      <id>xalan</id>
-      <version>${xalan_version}</version>
-    </dependency>
-
-
-    <!-- for spring integration -->
-    <dependency>
-      <groupId>springframework</groupId>
-      <artifactId>spring</artifactId>
-      <version>${spring_version}</version>
-    </dependency>
-
-
-    <!-- utility library for adapting StAX to SAX and JAXP Source -->
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>stax-utils</artifactId>
-      <version>${stax_utils_version}</version>
-    </dependency>
-
-
-    <!--
-      || Optional Components
-    -->
-
-    <!-- http binding -->
-
-    <!-- FTP binding -->
-    <dependency>
-      <id>commons-net</id>
-      <version>${commons_net_version}</version>
-    </dependency>
-    <dependency>
-      <id>oro</id>
-      <version>${oro_version}</version>
-    </dependency>
-
-
-    <!-- VFS binding -->
-    <dependency>
-      <groupId>commons-vfs</groupId>
-      <artifactId>commons-vfs</artifactId>
-      <version>${commons_vfs_version}</version>
-    </dependency>
-
-
-    <!-- for drools component -->
-    <dependency>
-      <groupId>drools</groupId>
-      <artifactId>drools-all-jdk1.4</artifactId>
-      <version>${drools_version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>janino</groupId>
-      <artifactId>janino</artifactId>
-      <version>${janino_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>antlr</groupId>
-      <artifactId>antlr</artifactId>
-      <version>${antlr_version}</version>
-    </dependency>
-
-    <!-- for quartz binding -->
-    <dependency>
-      <id>quartz</id>
-      <version>${quartz_version}</version>
-    </dependency>
-
-    <!-- SAAJ / JAX-RPC binding -->
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>saaj-api</artifactId>
-      <version>${saaj_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>saaj-impl</artifactId>
-      <version>${saaj_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>axis</groupId>
-      <artifactId>axis-jaxrpc</artifactId>
-      <version>${axis_version}</version>
-    </dependency>
-    <dependency>
-      <id>axis</id>
-      <version>${axis_version}</version>
-    </dependency>
-    <dependency>
-      <id>commons-discovery</id>
-      <version>${commons_discovery_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>xml-apis</groupId>
-      <artifactId>xml-apis</artifactId>
-      <version>${xml_apis_version}</version>
-    </dependency>
-
-    <!-- HTTP client -->
-    <dependency>
-      <id>commons-httpclient</id>
-      <version>${commons_httpclient_version}</version>
-    </dependency>
-    <dependency>
-      <id>commons-codec</id>
-      <version>${commons_codec_version}</version>
-    </dependency>
-
-    <!-- Rome RSS Reader -->
-    <dependency>
-      <id>rome</id>
-      <version>${rome_version}</version>
-    </dependency>
-
-
-    <dependency>
-      <id>jdom</id>
-      <version>${jdom_version}</version>
-    </dependency>
-
-
-    <!-- J2EE JARs -->
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-jms_1.1_spec</artifactId>
-      <version>${geronimo_spec_jms_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
-      <version>${geronimo_spec_jta_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
-      <version>${geronimo_spec_j2ee_management_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
-      <version>${geronimo_spec_j2ee_connector_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-activation_1.0.2_spec</artifactId>
-      <version>${geronimo_spec_activation_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-javamail_1.3.1_spec</artifactId>
-      <version>${geronimo_spec_javamail_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-servlet_2.4_spec</artifactId>
-      <version>${geronimo_spec_servlet_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>geronimo</groupId>
-      <artifactId>geronimo-activation</artifactId>
-      <version>${geronimo_version}</version>
-    </dependency>
-
-    <!--  for custom XML parsing -->
-    <dependency>
-      <groupId>org.apache.xbean</groupId>
-      <artifactId>xbean-spring</artifactId>
-      <version>${xbean_version}</version>
-      <url>http://www.xbean.org</url>
-      <properties>
-        <war.bundle>true</war.bundle>
-      </properties>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.xbean</groupId>
-      <artifactId>xbean-server</artifactId>
-      <version>${xbean_version}</version>
-      <url>http://www.xbean.org</url>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.xbean</groupId>
-      <artifactId>xbean-kernel</artifactId>
-      <version>${xbean_version}</version>
-      <url>http://www.xbean.org</url>
-    </dependency>
-    <dependency>
-      <groupId>annogen</groupId>
-      <artifactId>annogen</artifactId>
-      <version>${annogen_version}</version>
-    </dependency>
-    
-    <dependency>
-      <groupId>cglib</groupId>
-      <artifactId>cglib-nodep</artifactId>
-      <version>${cglib_version}</version>
-    </dependency>
-
-    <!-- JCA container and transaction manaqer -->
-    <dependency>
-      <id>jencks+all</id>
-      <version>${jencks_version}</version>
-    </dependency>
-
-
-    <!-- default JMS provider used for implementation -->
-    <dependency>
-      <groupId>activeio</groupId>
-      <artifactId>activeio</artifactId>
-      <version>${activeio_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>incubator-activemq</groupId>
-      <artifactId>activemq-core</artifactId>
-      <version>${activemq_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>incubator-activemq</groupId>
-      <artifactId>activemq-ra</artifactId>
-      <version>${activemq_version}</version>
-    </dependency>
-
-    <!-- Jabber component -->
-    <dependency>
-      <groupId>jivesoftware</groupId>
-      <artifactId>smack</artifactId>
-      <version>${smack_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>jivesoftware</groupId>
-      <artifactId>smackx</artifactId>
-      <version>${smack_version}</version>
-    </dependency>
-
-
-    <!-- Lingo components -->
-    <dependency>
-      <id>lingo</id>
-      <version>${lingo_version}</version>
-    </dependency>
-
-
-    <!-- for ActiveSOAP bindings -->
-    <dependency>
-      <id>activesoap</id>
-      <version>${activesoap_version}</version>
-    </dependency>
-
-    <!-- For XMLBeans -->
-    <dependency>
-      <groupId>xmlbeans</groupId>
-      <artifactId>xbean</artifactId>
-      <version>${xmlbeans_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>xmlbeans</groupId>
-      <artifactId>xbean_xpath</artifactId>
-      <version>${xmlbeans_version}</version>
-    </dependency>
-
-    <!-- for WSIF binding -->
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>wsif</artifactId>
-      <version>${wsif_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>wsif-j2c</artifactId>
-      <version>${wsif_version}</version>
-    </dependency>
-
-    <!-- used for mule component -->
-    <dependency>
-      <id>mule</id>
-      <version>${mule_version}</version>
-    </dependency>
-
-    <!-- used for script component -->
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>jsr-223</artifactId>
-      <version>${jsr_223_version}</version>
-      <url>http://www.jcp.org/en/jsr/detail?id=223</url>
-    </dependency>
-
-    <dependency>
-      <groupId>groovy</groupId>
-      <artifactId>groovy-all-1.0-jsr</artifactId>
-      <version>${groovy_version}</version>
-    </dependency>
-
-    <!-- for XStream component -->
-    <!-- optional jars for XStream marshalling -->
-    <dependency>
-      <id>xstream</id>
-      <version>${xstream_version}</version>
-    </dependency>
-
-    <!-- for XFire component -->
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>xfire-all</artifactId>
-      <version>${xfire_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>yom</groupId>
-      <artifactId>yom</artifactId>
-      <version>${yom_version}</version>
-    </dependency>
-
-    <!--
-      || Dependencies for running test cases
-    -->
-
-    <!-- for pooling JMS and other resources -->
-    <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>${commons_collections_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-pool</groupId>
-      <artifactId>commons-pool</artifactId>
-      <version>${commons_pool_version}</version>
-    </dependency>
-
-    <!-- example database for testing -->
-    <dependency>
-      <id>hsqldb</id>
-      <version>${hsqldb_version}</version>
-    </dependency>
-    <dependency>
-      <id>axion</id>
-      <version>${axion_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-primitives</groupId>
-      <artifactId>commons-primitives</artifactId>
-      <version>${commons_primitives_version}</version>
-    </dependency>
-
-    <!-- optional used for in-web container testing -->
-    <dependency>
-      <groupId>jetty</groupId>
-      <artifactId>jetty</artifactId>
-      <version>${jetty_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>tomcat</groupId>
-      <artifactId>jasper-compiler-jdt</artifactId>
-      <version>${jasper_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>tomcat</groupId>
-      <artifactId>jasper-compiler</artifactId>
-      <version>${jasper_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>tomcat</groupId>
-      <artifactId>jasper-runtime</artifactId>
-      <version>${jasper_version}</version>
-    </dependency>
-
-
-    <!-- default database for ActiveMQ -->
-    <!-- To create Pooled DataSources for the JDBC message store -->
-    <dependency>
-      <groupId>commons-dbcp</groupId>
-      <artifactId>commons-dbcp</artifactId>
-      <version>${commons_dbcp_version}</version>
-    </dependency>
-
-    <!-- JNDI provider for binary release -->
-    <dependency>
-      <groupId>simple-jndi</groupId>
-      <artifactId>simple-jndi</artifactId>
-      <version>${simple_jndi_version}</version>
-    </dependency>
-
-    <!-- for unit test cases -->
-    <dependency>
-      <id>junit</id>
-      <version>${junit_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>httpunit</groupId>
-      <artifactId>httpunit</artifactId>
-      <version>${httpunit_version}</version>
-      <url>http://httpunit.sourceforge.net/</url>
-      <properties>
-        <scope>test</scope>
-      </properties>
-    </dependency>
-    <dependency>
-      <groupId>backport-util-concurrent</groupId>
-      <artifactId>backport-util-concurrent</artifactId>
-      <version>${backport_util_concurrent_version}</version>
-    </dependency>
-
-  </dependencies>
-
-<build>
-    <nagEmailAddress>servicemix-dev-subscribe@geronimo.apache.org</nagEmailAddress>
-    <sourceDirectory>src/main/java</sourceDirectory>
-    <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
-
-    <integrationUnitTestSourceDirectory />
-    <aspectSourceDirectory />
-
-    <unitTest>
-      <excludes>
-        <!--  exclude abstract tests -->
-        <exclude>**/Abstract*Test.*</exclude>
-
-        <!-- Geronimo javamail bug -->
-        <exclude>**/HttpSoapAttachmentsTest.*</exclude>
-
-        <!-- need a jabber test server... -->
-        <exclude>**/Jabber*.*</exclude>
-
-        <!-- need a ftp server... -->
-        <exclude>**/FTP*.*</exclude>
-
-        <!-- need to check why it fails -->
-        <exclude>**/JmsOverJcaWithFullXATest.*</exclude>
-
-	<!-- http://jira.activemq.org/jira/browse/SM-311 -->
-        <exclude>**/CacheTest.*</exclude>
-        <!-- http://jira.activemq.org/jira/browse/SM-312 -->
-        <exclude>**/HttpSoapAndSaajTest.*</exclude>
-        <!-- http://jira.activemq.org/jira/browse/AMQ-571 -->
-        <exclude>**/HttpSoapTest.*</exclude>
-
-      </excludes>
-    </unitTest>
-  </build>
-  
-  <reports>
-    <report>maven-jdepend-plugin</report>
-    <!-- re-enable when we can get the warnings down to less than a few Mb!
-      <report>maven-checkstyle-plugin</report>
-      <report>maven-simian-plugin</report>
-      <report>maven-faq-plugin</report>
-    -->
-    <report>maven-changes-plugin</report>
-
-    <!-- clover seems to break the CI tool
-      <report>maven-clover-plugin</report>
-    -->
-    <report>maven-changelog-plugin</report>
-    <report>maven-file-activity-plugin</report>
-    <report>maven-developer-activity-plugin</report>
-    <report>maven-javadoc-plugin</report>
-    <report>maven-jxr-plugin</report>
-    <report>maven-junit-report-plugin</report>
-    <report>maven-tasklist-plugin</report>
-    <report>maven-pmd-plugin</report>
-
-  </reports>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+    
+-->
+
+<project>
+  <pomVersion>3</pomVersion>
+  <extend>${basedir}/../etc/project.xml</extend>
+  
+  <name>ServiceMix :: Components</name>
+  <id>servicemix-components</id>
+
+  <dependencies>
+
+    <dependency>
+      <groupId>${pom.groupId}</groupId>
+      <artifactId>servicemix-jbi</artifactId>
+      <version>${pom.currentVersion}</version>
+      <properties>
+        <eclipse.dependency>true</eclipse.dependency>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>${pom.groupId}</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>${pom.currentVersion}</version>
+      <properties>
+        <eclipse.dependency>true</eclipse.dependency>
+      </properties>
+    </dependency>
+
+    <!-- MX4J -->
+    <dependency>
+      <groupId>mx4j</groupId>
+      <artifactId>mx4j</artifactId>
+      <version>${mx4j_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>mx4j</groupId>
+      <artifactId>mx4j-remote</artifactId>
+      <version>${mx4j_remote_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>mx4j</groupId>
+      <artifactId>mx4j-tools</artifactId>
+      <version>${mx4j_tools_version}</version>
+    </dependency>
+
+    <!--For remote management tasks-->
+
+    <dependency>
+      <id>ant</id>
+      <version>${ant_version}</version>
+    </dependency>
+
+    <dependency>
+      <id>regexp</id>
+      <version>${regexp_version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>${commons_logging_version}</version>
+      <url>http://jakarta.apache.org/commons/logging/</url>
+    </dependency>
+
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>${log4j_version}</version>
+    </dependency>
+
+    <dependency>
+      <id>concurrent</id>
+      <version>${concurrent_version}</version>
+    </dependency>
+
+    <dependency>
+      <id>wsdl4j</id>
+      <version>${wsdl4j_version}</version>
+    </dependency>
+
+    <dependency>
+      <id>commons-beanutils</id>
+      <version>${commons_beanutils_version}</version>
+    </dependency>
+
+
+    <!-- for DOM, SAX, StAX and XPath support -->
+
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxp</artifactId>
+      <version>${jaxp_version}</version>
+      <properties>
+        <lib>true</lib>
+      </properties>
+    </dependency>
+
+    <dependency>
+      <id>stax+api</id>
+      <version>${stax_api_version}</version>
+    </dependency>
+
+    <dependency>
+      <id>jaxen</id>
+      <version>${jaxen_version}</version>
+    </dependency>
+
+    <!-- possible StAX implementations: START -->
+
+    <!-- fast implementation of StAX -->
+    <dependency>
+      <groupId>woodstox</groupId>
+      <artifactId>wstx-asl</artifactId>
+      <version>${woodstox_version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>xerces</groupId>
+      <artifactId>xercesImpl</artifactId>
+      <version>${xercesImpl_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>xerces</groupId>
+      <artifactId>xmlParserAPIs</artifactId>
+      <version>${xerces_version}</version>
+    </dependency>
+
+    <!-- mostly included for some DOM/SAX tools we could maybe replace with JAXP versions -->
+    <dependency>
+      <id>xalan</id>
+      <version>${xalan_version}</version>
+    </dependency>
+
+
+    <!-- for spring integration -->
+    <dependency>
+      <groupId>springframework</groupId>
+      <artifactId>spring</artifactId>
+      <version>${spring_version}</version>
+    </dependency>
+
+
+    <!-- utility library for adapting StAX to SAX and JAXP Source -->
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>stax-utils</artifactId>
+      <version>${stax_utils_version}</version>
+    </dependency>
+
+
+    <!--
+      || Optional Components
+    -->
+
+    <!-- http binding -->
+
+    <!-- FTP binding -->
+    <dependency>
+      <id>commons-net</id>
+      <version>${commons_net_version}</version>
+    </dependency>
+    <dependency>
+      <id>oro</id>
+      <version>${oro_version}</version>
+    </dependency>
+
+
+    <!-- VFS binding -->
+    <dependency>
+      <groupId>commons-vfs</groupId>
+      <artifactId>commons-vfs</artifactId>
+      <version>${commons_vfs_version}</version>
+    </dependency>
+
+
+    <!-- for drools component -->
+    <dependency>
+      <groupId>drools</groupId>
+      <artifactId>drools-all-jdk1.4</artifactId>
+      <version>${drools_version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>janino</groupId>
+      <artifactId>janino</artifactId>
+      <version>${janino_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>antlr</groupId>
+      <artifactId>antlr</artifactId>
+      <version>${antlr_version}</version>
+    </dependency>
+
+    <!-- for quartz binding -->
+    <dependency>
+      <id>quartz</id>
+      <version>${quartz_version}</version>
+    </dependency>
+
+    <!-- SAAJ / JAX-RPC binding -->
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>saaj-api</artifactId>
+      <version>${saaj_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>saaj-impl</artifactId>
+      <version>${saaj_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>axis</groupId>
+      <artifactId>axis-jaxrpc</artifactId>
+      <version>${axis_version}</version>
+    </dependency>
+    <dependency>
+      <id>axis</id>
+      <version>${axis_version}</version>
+    </dependency>
+    <dependency>
+      <id>commons-discovery</id>
+      <version>${commons_discovery_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>${xml_apis_version}</version>
+    </dependency>
+
+    <!-- HTTP client -->
+    <dependency>
+      <id>commons-httpclient</id>
+      <version>${commons_httpclient_version}</version>
+    </dependency>
+    <dependency>
+      <id>commons-codec</id>
+      <version>${commons_codec_version}</version>
+    </dependency>
+
+    <!-- Rome RSS Reader -->
+    <dependency>
+      <id>rome</id>
+      <version>${rome_version}</version>
+    </dependency>
+
+
+    <dependency>
+      <id>jdom</id>
+      <version>${jdom_version}</version>
+    </dependency>
+
+
+    <!-- J2EE JARs -->
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-jms_1.1_spec</artifactId>
+      <version>${geronimo_spec_jms_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
+      <version>${geronimo_spec_jta_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
+      <version>${geronimo_spec_j2ee_management_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
+      <version>${geronimo_spec_j2ee_connector_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-activation_1.0.2_spec</artifactId>
+      <version>${geronimo_spec_activation_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-javamail_1.3.1_spec</artifactId>
+      <version>${geronimo_spec_javamail_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-servlet_2.4_spec</artifactId>
+      <version>${geronimo_spec_servlet_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>geronimo</groupId>
+      <artifactId>geronimo-activation</artifactId>
+      <version>${geronimo_version}</version>
+    </dependency>
+
+    <!--  for custom XML parsing -->
+    <dependency>
+      <groupId>org.apache.xbean</groupId>
+      <artifactId>xbean-spring</artifactId>
+      <version>${xbean_version}</version>
+      <url>http://www.xbean.org</url>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xbean</groupId>
+      <artifactId>xbean-server</artifactId>
+      <version>${xbean_version}</version>
+      <url>http://www.xbean.org</url>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xbean</groupId>
+      <artifactId>xbean-kernel</artifactId>
+      <version>${xbean_version}</version>
+      <url>http://www.xbean.org</url>
+    </dependency>
+    <dependency>
+      <groupId>annogen</groupId>
+      <artifactId>annogen</artifactId>
+      <version>${annogen_version}</version>
+    </dependency>
+    
+    <dependency>
+      <groupId>cglib</groupId>
+      <artifactId>cglib-nodep</artifactId>
+      <version>${cglib_version}</version>
+    </dependency>
+
+    <!-- JCA container and transaction manaqer -->
+    <dependency>
+      <id>jencks+all</id>
+      <version>${jencks_version}</version>
+    </dependency>
+
+
+    <!-- default JMS provider used for implementation -->
+    <dependency>
+      <groupId>activeio</groupId>
+      <artifactId>activeio</artifactId>
+      <version>${activeio_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>incubator-activemq</groupId>
+      <artifactId>activemq-core</artifactId>
+      <version>${activemq_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>incubator-activemq</groupId>
+      <artifactId>activemq-ra</artifactId>
+      <version>${activemq_version}</version>
+    </dependency>
+
+    <!-- Jabber component -->
+    <dependency>
+      <groupId>jivesoftware</groupId>
+      <artifactId>smack</artifactId>
+      <version>${smack_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jivesoftware</groupId>
+      <artifactId>smackx</artifactId>
+      <version>${smack_version}</version>
+    </dependency>
+
+
+    <!-- Lingo components -->
+    <dependency>
+      <id>lingo</id>
+      <version>${lingo_version}</version>
+    </dependency>
+
+
+    <!-- for ActiveSOAP bindings -->
+    <dependency>
+      <id>activesoap</id>
+      <version>${activesoap_version}</version>
+    </dependency>
+
+    <!-- For XMLBeans -->
+    <dependency>
+      <groupId>xmlbeans</groupId>
+      <artifactId>xbean</artifactId>
+      <version>${xmlbeans_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>xmlbeans</groupId>
+      <artifactId>xbean_xpath</artifactId>
+      <version>${xmlbeans_version}</version>
+    </dependency>
+
+    <!-- for WSIF binding -->
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>wsif</artifactId>
+      <version>${wsif_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>wsif-j2c</artifactId>
+      <version>${wsif_version}</version>
+    </dependency>
+
+    <!-- used for mule component -->
+    <dependency>
+      <id>mule</id>
+      <version>${mule_version}</version>
+    </dependency>
+
+    <!-- used for script component -->
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jsr-223</artifactId>
+      <version>${jsr_223_version}</version>
+      <url>http://www.jcp.org/en/jsr/detail?id=223</url>
+    </dependency>
+
+    <dependency>
+      <groupId>groovy</groupId>
+      <artifactId>groovy-all-1.0-jsr</artifactId>
+      <version>${groovy_version}</version>
+    </dependency>
+
+    <!-- for XStream component -->
+    <!-- optional jars for XStream marshalling -->
+    <dependency>
+      <id>xstream</id>
+      <version>${xstream_version}</version>
+    </dependency>
+
+    <!-- for XFire component -->
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>xfire-all</artifactId>
+      <version>${xfire_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>yom</groupId>
+      <artifactId>yom</artifactId>
+      <version>${yom_version}</version>
+    </dependency>
+
+    <!--
+      || Dependencies for running test cases
+    -->
+
+    <!-- for pooling JMS and other resources -->
+    <dependency>
+      <groupId>commons-collections</groupId>
+      <artifactId>commons-collections</artifactId>
+      <version>${commons_collections_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-pool</groupId>
+      <artifactId>commons-pool</artifactId>
+      <version>${commons_pool_version}</version>
+    </dependency>
+
+    <!-- example database for testing -->
+    <dependency>
+      <id>hsqldb</id>
+      <version>${hsqldb_version}</version>
+    </dependency>
+    <dependency>
+      <id>axion</id>
+      <version>${axion_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-primitives</groupId>
+      <artifactId>commons-primitives</artifactId>
+      <version>${commons_primitives_version}</version>
+    </dependency>
+
+    <!-- optional used for in-web container testing -->
+    <dependency>
+      <groupId>jetty</groupId>
+      <artifactId>jetty</artifactId>
+      <version>${jetty_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>tomcat</groupId>
+      <artifactId>jasper-compiler-jdt</artifactId>
+      <version>${jasper_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>tomcat</groupId>
+      <artifactId>jasper-compiler</artifactId>
+      <version>${jasper_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>tomcat</groupId>
+      <artifactId>jasper-runtime</artifactId>
+      <version>${jasper_version}</version>
+    </dependency>
+
+
+    <!-- default database for ActiveMQ -->
+    <!-- To create Pooled DataSources for the JDBC message store -->
+    <dependency>
+      <groupId>commons-dbcp</groupId>
+      <artifactId>commons-dbcp</artifactId>
+      <version>${commons_dbcp_version}</version>
+    </dependency>
+
+    <!-- JNDI provider for binary release -->
+    <dependency>
+      <groupId>simple-jndi</groupId>
+      <artifactId>simple-jndi</artifactId>
+      <version>${simple_jndi_version}</version>
+    </dependency>
+
+    <!-- for unit test cases -->
+    <dependency>
+      <id>junit</id>
+      <version>${junit_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>httpunit</groupId>
+      <artifactId>httpunit</artifactId>
+      <version>${httpunit_version}</version>
+      <url>http://httpunit.sourceforge.net/</url>
+      <properties>
+        <scope>test</scope>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>backport-util-concurrent</groupId>
+      <artifactId>backport-util-concurrent</artifactId>
+      <version>${backport_util_concurrent_version}</version>
+    </dependency>
+
+  </dependencies>
+
+<build>
+    <nagEmailAddress>servicemix-dev-subscribe@geronimo.apache.org</nagEmailAddress>
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
+
+    <integrationUnitTestSourceDirectory />
+    <aspectSourceDirectory />
+
+    <unitTest>
+      <excludes>
+        <!--  exclude abstract tests -->
+        <exclude>**/Abstract*Test.*</exclude>
+
+        <!-- Geronimo javamail bug -->
+        <exclude>**/HttpSoapAttachmentsTest.*</exclude>
+
+        <!-- need a jabber test server... -->
+        <exclude>**/Jabber*.*</exclude>
+
+        <!-- need a ftp server... -->
+        <exclude>**/FTP*.*</exclude>
+
+        <!-- need to check why it fails -->
+        <exclude>**/JmsOverJcaWithFullXATest.*</exclude>
+
+	<!-- http://jira.activemq.org/jira/browse/SM-311 -->
+        <exclude>**/CacheTest.*</exclude>
+        <!-- http://jira.activemq.org/jira/browse/SM-312 -->
+        <exclude>**/HttpSoapAndSaajTest.*</exclude>
+        <!-- http://jira.activemq.org/jira/browse/AMQ-571 -->
+        <exclude>**/HttpSoapTest.*</exclude>
+
+      </excludes>
+    </unitTest>
+  </build>
+  
+  <reports>
+    <report>maven-jdepend-plugin</report>
+    <!-- re-enable when we can get the warnings down to less than a few Mb!
+      <report>maven-checkstyle-plugin</report>
+      <report>maven-simian-plugin</report>
+      <report>maven-faq-plugin</report>
+    -->
+    <report>maven-changes-plugin</report>
+
+    <!-- clover seems to break the CI tool
+      <report>maven-clover-plugin</report>
+    -->
+    <report>maven-changelog-plugin</report>
+    <report>maven-file-activity-plugin</report>
+    <report>maven-developer-activity-plugin</report>
+    <report>maven-javadoc-plugin</report>
+    <report>maven-jxr-plugin</report>
+    <report>maven-junit-report-plugin</report>
+    <report>maven-tasklist-plugin</report>
+    <report>maven-pmd-plugin</report>
+
+  </reports>
+</project>

Propchange: incubator/servicemix/trunk/servicemix-components/project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/src/main/resources/META-INF/DISCLAIMER.txt
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/main/resources/META-INF/DISCLAIMER.txt?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/main/resources/META-INF/DISCLAIMER.txt (original)
+++ incubator/servicemix/trunk/servicemix-components/src/main/resources/META-INF/DISCLAIMER.txt Tue Feb 21 15:40:05 2006
@@ -1,7 +1,7 @@
-ActiveMQ is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Geronimo PMC. Incubation is required of all newly
-accepted projects until a further review indicates that the infrastructure,
-communications, and decision making process have stabilized in a manner
-consistent with other successful ASF projects. While incubation status is not
-necessarily a reflection of the completeness or stability of the code, it does
+ActiveMQ is an effort undergoing incubation at the Apache Software Foundation
+(ASF), sponsored by the Geronimo PMC. Incubation is required of all newly
+accepted projects until a further review indicates that the infrastructure,
+communications, and decision making process have stabilized in a manner
+consistent with other successful ASF projects. While incubation status is not
+necessarily a reflection of the completeness or stability of the code, it does
 indicate that the project has yet to be fully endorsed by the ASF.

Propchange: incubator/servicemix/trunk/servicemix-components/src/main/resources/META-INF/DISCLAIMER.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/servicemix-components/src/main/resources/META-INF/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/file/BinaryFileTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/file/BinaryFileTest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/file/BinaryFileTest.java (original)
+++ incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/file/BinaryFileTest.java Tue Feb 21 15:40:05 2006
@@ -1,68 +1,68 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.servicemix.components.file;
-
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileWriter;
-
-import org.apache.servicemix.jbi.util.FileUtil;
-import org.apache.servicemix.tck.TestSupport;
-import org.springframework.context.support.AbstractXmlApplicationContext;
-import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
-
-/**
- * @version $Revision: 359213 $
- */
-public class BinaryFileTest extends TestSupport {
-
-	protected void setUp() throws Exception {
-		FileUtil.deleteFile(new File("target/test-data/in"));
-		FileUtil.deleteFile(new File("target/test-data/out"));
-		super.setUp();
-	}
-	
-    public void testSendBinary() throws Exception {
-    	String contents = "Binary content";
-        FileWriter fw = new FileWriter("target/test-data/in/file.txt");
-        fw.write(contents);
-        fw.close();
-        
-        File output = null;
-        long start = System.currentTimeMillis();
-        while (System.currentTimeMillis() - start < 5000) {
-        	File outDir = new File("target/test-data/out");
-        	File[] files = outDir.listFiles();
-        	if (files != null && files.length > 0) {
-        		output = files[0];
-        		break;
-        	}
-        	Thread.sleep(50);
-        }
-        if (output == null) {
-        	fail("No output file found");
-        }
-        ByteArrayOutputStream baos = new ByteArrayOutputStream();
-        FileUtil.copyInputStream(new FileInputStream(output), baos);
-        String outContents = baos.toString();
-        assertEquals(contents, outContents);
-    }
-
-    protected AbstractXmlApplicationContext createBeanFactory() {
-        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/file/binary-example.xml");
-    }
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.components.file;
+
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileWriter;
+
+import org.apache.servicemix.jbi.util.FileUtil;
+import org.apache.servicemix.tck.TestSupport;
+import org.springframework.context.support.AbstractXmlApplicationContext;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+
+/**
+ * @version $Revision: 359213 $
+ */
+public class BinaryFileTest extends TestSupport {
+
+	protected void setUp() throws Exception {
+		FileUtil.deleteFile(new File("target/test-data/in"));
+		FileUtil.deleteFile(new File("target/test-data/out"));
+		super.setUp();
+	}
+	
+    public void testSendBinary() throws Exception {
+    	String contents = "Binary content";
+        FileWriter fw = new FileWriter("target/test-data/in/file.txt");
+        fw.write(contents);
+        fw.close();
+        
+        File output = null;
+        long start = System.currentTimeMillis();
+        while (System.currentTimeMillis() - start < 5000) {
+        	File outDir = new File("target/test-data/out");
+        	File[] files = outDir.listFiles();
+        	if (files != null && files.length > 0) {
+        		output = files[0];
+        		break;
+        	}
+        	Thread.sleep(50);
+        }
+        if (output == null) {
+        	fail("No output file found");
+        }
+        ByteArrayOutputStream baos = new ByteArrayOutputStream();
+        FileUtil.copyInputStream(new FileInputStream(output), baos);
+        String outContents = baos.toString();
+        assertEquals(contents, outContents);
+    }
+
+    protected AbstractXmlApplicationContext createBeanFactory() {
+        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/file/binary-example.xml");
+    }
+}

Propchange: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/file/BinaryFileTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapAndSaajTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapAndSaajTest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapAndSaajTest.java (original)
+++ incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapAndSaajTest.java Tue Feb 21 15:40:05 2006
@@ -1,158 +1,158 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.servicemix.components.http;
-
-import java.io.ByteArrayOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.URL;
-import java.net.URLConnection;
-
-import javax.xml.messaging.URLEndpoint;
-import javax.xml.namespace.QName;
-import javax.xml.transform.TransformerException;
-
-import junit.framework.TestCase;
-
-import org.apache.activemq.broker.BrokerService;
-import org.apache.activemq.xbean.BrokerFactoryBean;
-import org.apache.servicemix.components.saaj.SaajBinding;
-import org.apache.servicemix.components.util.MockServiceComponent;
-import org.apache.servicemix.jbi.container.ActivationSpec;
-import org.apache.servicemix.jbi.container.JBIContainer;
-import org.apache.servicemix.jbi.jaxp.SourceTransformer;
-import org.apache.servicemix.jbi.jaxp.StringSource;
-import org.apache.servicemix.jbi.util.DOMUtil;
-import org.apache.servicemix.jbi.util.FileUtil;
-import org.apache.xml.serialize.OutputFormat;
-import org.apache.xml.serialize.XMLSerializer;
-import org.apache.xpath.CachedXPathAPI;
-import org.springframework.core.io.ClassPathResource;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.traversal.NodeIterator;
-
-public class HttpSoapAndSaajTest extends TestCase {
-    
-    private static final int PORT = 7012;
-    private static final int PORT_WS = 7013;
-
-    protected JBIContainer container;
-	protected BrokerService broker;
-    
-    protected void setUp() throws Exception {
-        BrokerFactoryBean bfb = new BrokerFactoryBean(new ClassPathResource("broker.xml"));
-        bfb.afterPropertiesSet();
-        broker = bfb.getBroker();
-        broker.start();
-        container = new JBIContainer();
-        container.setMonitorInstallationDirectory(false);
-        container.setUseMBeanServer(false);
-        container.setCreateMBeanServer(false);
-        container.setEmbedded(true);
-        container.setFlowName("jms?jmsURL=tcp://localhost:61626");
-        container.init();
-        container.start();
-    }
-    
-    protected void tearDown() throws Exception {
-        if (container != null) {
-            container.shutDown();
-        }
-        if (broker != null) {
-        	broker.stop();
-        }
-    }
-    
-    public void testInOut() throws Exception {
-        ActivationSpec as = new ActivationSpec();
-        as.setId("saaj");
-        SaajBinding saaj = new SaajBinding();
-        saaj.setSoapEndpoint(new URLEndpoint("http://localhost:" + PORT_WS)); 
-        as.setComponent(saaj);
-        as.setService(new QName("saaj"));
-        container.activateComponent(as);
-        
-        as = new ActivationSpec();
-        as.setId("xfireBinding");
-        as.setComponent(new HttpSoapConnector(null, PORT, true));
-        as.setDestinationService(new QName("saaj"));
-        container.activateComponent(as);
-        
-        as = new ActivationSpec();
-        as.setId("webservice");
-        as.setComponent(new HttpConnector(null, PORT_WS));
-        as.setDestinationService(new QName("mock"));
-        container.activateComponent(as);
-        
-        as = new ActivationSpec();
-        as.setId("mock");
-        MockServiceComponent mock = new MockServiceComponent();
-        mock.setResponseResource(new ClassPathResource("soap-response.xml", getClass()));
-        as.setComponent(mock);
-        as.setService(new QName("mock"));
-        container.activateComponent(as);
-
-        URLConnection connection = new URL("http://localhost:" + PORT).openConnection();
-        connection.setDoOutput(true);
-        connection.setDoInput(true);
-        OutputStream os = connection.getOutputStream();
-        // Post the request file.
-        InputStream fis = getClass().getResourceAsStream("soap-request.xml");
-        FileUtil.copyInputStream(fis, os);
-        // Read the response.
-        InputStream is = connection.getInputStream();
-        ByteArrayOutputStream baos = new ByteArrayOutputStream();
-        FileUtil.copyInputStream(is, baos);
-        
-        // Check xml validity
-        Node node = new SourceTransformer().toDOMNode(new StringSource(baos.toString()));
-
-        OutputFormat format = new OutputFormat((Document) node);
-        format.setLineWidth(65);
-        format.setIndenting(true);
-        format.setIndent(2);
-        XMLSerializer serializer = new XMLSerializer(System.err, format);
-        System.err.println();
-        serializer.serialize((Document) node);
-        
-        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
-        NodeIterator iterator = cachedXPathAPI.selectNodeIterator(node, "//*[local-name() = 'userId']");
-        Element root = (Element) iterator.nextNode();
-        QName qname = DOMUtil.createQName(root, root.getAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "type"));
-        assertEquals("http://www.w3.org/2001/XMLSchema", qname.getNamespaceURI());
-        assertEquals("string", qname.getLocalPart());
-        
-    }
-
-    protected String textValueOfXPath(Node node, String xpath) throws TransformerException {
-        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
-        NodeIterator iterator = cachedXPathAPI.selectNodeIterator(node, xpath);
-        Node root = iterator.nextNode();
-        if (root instanceof Element) {
-            Element element = (Element) root;
-            if (element == null) {
-                return "";
-            }
-            String text = DOMUtil.getElementText(element);
-            return text;
-        }
-        else {
-            return root.getNodeValue();
-        }
-    }
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.components.http;
+
+import java.io.ByteArrayOutputStream;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.net.URL;
+import java.net.URLConnection;
+
+import javax.xml.messaging.URLEndpoint;
+import javax.xml.namespace.QName;
+import javax.xml.transform.TransformerException;
+
+import junit.framework.TestCase;
+
+import org.apache.activemq.broker.BrokerService;
+import org.apache.activemq.xbean.BrokerFactoryBean;
+import org.apache.servicemix.components.saaj.SaajBinding;
+import org.apache.servicemix.components.util.MockServiceComponent;
+import org.apache.servicemix.jbi.container.ActivationSpec;
+import org.apache.servicemix.jbi.container.JBIContainer;
+import org.apache.servicemix.jbi.jaxp.SourceTransformer;
+import org.apache.servicemix.jbi.jaxp.StringSource;
+import org.apache.servicemix.jbi.util.DOMUtil;
+import org.apache.servicemix.jbi.util.FileUtil;
+import org.apache.xml.serialize.OutputFormat;
+import org.apache.xml.serialize.XMLSerializer;
+import org.apache.xpath.CachedXPathAPI;
+import org.springframework.core.io.ClassPathResource;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.traversal.NodeIterator;
+
+public class HttpSoapAndSaajTest extends TestCase {
+    
+    private static final int PORT = 7012;
+    private static final int PORT_WS = 7013;
+
+    protected JBIContainer container;
+	protected BrokerService broker;
+    
+    protected void setUp() throws Exception {
+        BrokerFactoryBean bfb = new BrokerFactoryBean(new ClassPathResource("broker.xml"));
+        bfb.afterPropertiesSet();
+        broker = bfb.getBroker();
+        broker.start();
+        container = new JBIContainer();
+        container.setMonitorInstallationDirectory(false);
+        container.setUseMBeanServer(false);
+        container.setCreateMBeanServer(false);
+        container.setEmbedded(true);
+        container.setFlowName("jms?jmsURL=tcp://localhost:61626");
+        container.init();
+        container.start();
+    }
+    
+    protected void tearDown() throws Exception {
+        if (container != null) {
+            container.shutDown();
+        }
+        if (broker != null) {
+        	broker.stop();
+        }
+    }
+    
+    public void testInOut() throws Exception {
+        ActivationSpec as = new ActivationSpec();
+        as.setId("saaj");
+        SaajBinding saaj = new SaajBinding();
+        saaj.setSoapEndpoint(new URLEndpoint("http://localhost:" + PORT_WS)); 
+        as.setComponent(saaj);
+        as.setService(new QName("saaj"));
+        container.activateComponent(as);
+        
+        as = new ActivationSpec();
+        as.setId("xfireBinding");
+        as.setComponent(new HttpSoapConnector(null, PORT, true));
+        as.setDestinationService(new QName("saaj"));
+        container.activateComponent(as);
+        
+        as = new ActivationSpec();
+        as.setId("webservice");
+        as.setComponent(new HttpConnector(null, PORT_WS));
+        as.setDestinationService(new QName("mock"));
+        container.activateComponent(as);
+        
+        as = new ActivationSpec();
+        as.setId("mock");
+        MockServiceComponent mock = new MockServiceComponent();
+        mock.setResponseResource(new ClassPathResource("soap-response.xml", getClass()));
+        as.setComponent(mock);
+        as.setService(new QName("mock"));
+        container.activateComponent(as);
+
+        URLConnection connection = new URL("http://localhost:" + PORT).openConnection();
+        connection.setDoOutput(true);
+        connection.setDoInput(true);
+        OutputStream os = connection.getOutputStream();
+        // Post the request file.
+        InputStream fis = getClass().getResourceAsStream("soap-request.xml");
+        FileUtil.copyInputStream(fis, os);
+        // Read the response.
+        InputStream is = connection.getInputStream();
+        ByteArrayOutputStream baos = new ByteArrayOutputStream();
+        FileUtil.copyInputStream(is, baos);
+        
+        // Check xml validity
+        Node node = new SourceTransformer().toDOMNode(new StringSource(baos.toString()));
+
+        OutputFormat format = new OutputFormat((Document) node);
+        format.setLineWidth(65);
+        format.setIndenting(true);
+        format.setIndent(2);
+        XMLSerializer serializer = new XMLSerializer(System.err, format);
+        System.err.println();
+        serializer.serialize((Document) node);
+        
+        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
+        NodeIterator iterator = cachedXPathAPI.selectNodeIterator(node, "//*[local-name() = 'userId']");
+        Element root = (Element) iterator.nextNode();
+        QName qname = DOMUtil.createQName(root, root.getAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "type"));
+        assertEquals("http://www.w3.org/2001/XMLSchema", qname.getNamespaceURI());
+        assertEquals("string", qname.getLocalPart());
+        
+    }
+
+    protected String textValueOfXPath(Node node, String xpath) throws TransformerException {
+        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
+        NodeIterator iterator = cachedXPathAPI.selectNodeIterator(node, xpath);
+        Node root = iterator.nextNode();
+        if (root instanceof Element) {
+            Element element = (Element) root;
+            if (element == null) {
+                return "";
+            }
+            String text = DOMUtil.getElementText(element);
+            return text;
+        }
+        else {
+            return root.getNodeValue();
+        }
+    }
+}

Propchange: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapAndSaajTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapWsTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapWsTest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapWsTest.java (original)
+++ incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapWsTest.java Tue Feb 21 15:40:05 2006
@@ -1,67 +1,67 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.servicemix.components.http;
-
-import java.io.BufferedReader;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.net.URL;
-import java.net.URLConnection;
-
-import javax.xml.namespace.QName;
-
-import org.apache.servicemix.tck.TestSupport;
-import org.springframework.context.support.AbstractXmlApplicationContext;
-import org.w3c.dom.Node;
-import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
-
-/**
- * @version $Revision: 359186 $
- */
-public class HttpSoapWsTest extends TestSupport {
-
-    protected String quote = "SUNW";
-
-    public void testWithURLConnection() throws Exception {
-        URLConnection connection = new URL("http://localhost:8912").openConnection();
-        connection.setDoOutput(true);
-        connection.setDoInput(true);
-        OutputStream os = connection.getOutputStream();
-
-        // Post the request file.
-        InputStream fis = getClass().getResourceAsStream("soap-request.xml");
-        int c;
-        while ((c = fis.read()) >= 0) {
-            os.write(c);
-        }
-        os.flush();
-        os.close();
-        fis.close();
-
-        // Read the response.
-        BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
-        String inputLine;
-        while ((inputLine = in.readLine()) != null) {
-            System.out.println(inputLine);
-        }
-        in.close();
-    }
-
-    protected AbstractXmlApplicationContext createBeanFactory() {
-        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/http/ws-example.xml");
-    }
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.components.http;
+
+import java.io.BufferedReader;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.net.URL;
+import java.net.URLConnection;
+
+import javax.xml.namespace.QName;
+
+import org.apache.servicemix.tck.TestSupport;
+import org.springframework.context.support.AbstractXmlApplicationContext;
+import org.w3c.dom.Node;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+
+/**
+ * @version $Revision: 359186 $
+ */
+public class HttpSoapWsTest extends TestSupport {
+
+    protected String quote = "SUNW";
+
+    public void testWithURLConnection() throws Exception {
+        URLConnection connection = new URL("http://localhost:8912").openConnection();
+        connection.setDoOutput(true);
+        connection.setDoInput(true);
+        OutputStream os = connection.getOutputStream();
+
+        // Post the request file.
+        InputStream fis = getClass().getResourceAsStream("soap-request.xml");
+        int c;
+        while ((c = fis.read()) >= 0) {
+            os.write(c);
+        }
+        os.flush();
+        os.close();
+        fis.close();
+
+        // Read the response.
+        BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
+        String inputLine;
+        while ((inputLine = in.readLine()) != null) {
+            System.out.println(inputLine);
+        }
+        in.close();
+    }
+
+    protected AbstractXmlApplicationContext createBeanFactory() {
+        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/http/ws-example.xml");
+    }
+}

Propchange: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpSoapWsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jms/JmsBindingClusterTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jms/JmsBindingClusterTest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jms/JmsBindingClusterTest.java (original)
+++ incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jms/JmsBindingClusterTest.java Tue Feb 21 15:40:05 2006
@@ -1,38 +1,38 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.servicemix.components.jms;
-
-import org.apache.servicemix.tck.TestSupport;
-import org.springframework.context.support.AbstractXmlApplicationContext;
-import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
-
-import javax.xml.namespace.QName;
-
-/**
- * @version $Revision: 359186 $
- */
-public class JmsBindingClusterTest extends TestSupport {
-
-    public void testSendMessagesToJmsThenOutofJmsToReceiver() throws Exception {
-        QName service = new QName("http://servicemix.org/cheese/", "myJmsSender");
-
-        assertSendAndReceiveMessages(service);
-    }
-
-    protected AbstractXmlApplicationContext createBeanFactory() {
-        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/jms/example-cluster.xml");
-    }
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.components.jms;
+
+import org.apache.servicemix.tck.TestSupport;
+import org.springframework.context.support.AbstractXmlApplicationContext;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @version $Revision: 359186 $
+ */
+public class JmsBindingClusterTest extends TestSupport {
+
+    public void testSendMessagesToJmsThenOutofJmsToReceiver() throws Exception {
+        QName service = new QName("http://servicemix.org/cheese/", "myJmsSender");
+
+        assertSendAndReceiveMessages(service);
+    }
+
+    protected AbstractXmlApplicationContext createBeanFactory() {
+        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/jms/example-cluster.xml");
+    }
+}

Propchange: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jms/JmsBindingClusterTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jmx/CounterMonitorComponentTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jmx/CounterMonitorComponentTest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jmx/CounterMonitorComponentTest.java (original)
+++ incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jmx/CounterMonitorComponentTest.java Tue Feb 21 15:40:05 2006
@@ -1,44 +1,44 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.servicemix.components.jmx;
-
-import org.apache.servicemix.jbi.jaxp.StringSource;
-import org.apache.servicemix.tck.TestSupport;
-import org.springframework.context.support.AbstractXmlApplicationContext;
-import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
-
-/**
- * @version $Revision: 359186 $
- */
-public class CounterMonitorComponentTest extends TestSupport {
-
-    public void testCounter() throws Exception {
-        int nb = 10;
-        for (int i = 0; i < nb; i++) {
-            client.send(null, new StringSource("<hello>world</hello>"));
-            // We need to sleep more than the granularity period length
-            // so that we do not loose notifications
-            Thread.sleep(50);
-        }
-        receiver.getMessageList().assertMessagesReceived(nb);
-    }
-
-    protected AbstractXmlApplicationContext createBeanFactory() {
-        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/jmx/example.xml");
-    }
-    
-    
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.components.jmx;
+
+import org.apache.servicemix.jbi.jaxp.StringSource;
+import org.apache.servicemix.tck.TestSupport;
+import org.springframework.context.support.AbstractXmlApplicationContext;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+
+/**
+ * @version $Revision: 359186 $
+ */
+public class CounterMonitorComponentTest extends TestSupport {
+
+    public void testCounter() throws Exception {
+        int nb = 10;
+        for (int i = 0; i < nb; i++) {
+            client.send(null, new StringSource("<hello>world</hello>"));
+            // We need to sleep more than the granularity period length
+            // so that we do not loose notifications
+            Thread.sleep(50);
+        }
+        receiver.getMessageList().assertMessagesReceived(nb);
+    }
+
+    protected AbstractXmlApplicationContext createBeanFactory() {
+        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/jmx/example.xml");
+    }
+    
+    
+}

Propchange: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/jmx/CounterMonitorComponentTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/quartz/QuartzComponentClusterTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/quartz/QuartzComponentClusterTest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/quartz/QuartzComponentClusterTest.java (original)
+++ incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/quartz/QuartzComponentClusterTest.java Tue Feb 21 15:40:05 2006
@@ -1,34 +1,34 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.servicemix.components.quartz;
-
-import org.apache.servicemix.tck.TestSupport;
-import org.springframework.context.support.AbstractXmlApplicationContext;
-import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
-
-/**
- * @version $Revision: 359186 $
- */
-public class QuartzComponentClusterTest extends TestSupport {
-
-    public void testSendMessagesToJmsThenOutofJmsToReceiver() throws Exception {
-        assertMessagesReceived();
-    }
-
-    protected AbstractXmlApplicationContext createBeanFactory() {
-        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/quartz/example-cluster.xml");
-    }
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.components.quartz;
+
+import org.apache.servicemix.tck.TestSupport;
+import org.springframework.context.support.AbstractXmlApplicationContext;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+
+/**
+ * @version $Revision: 359186 $
+ */
+public class QuartzComponentClusterTest extends TestSupport {
+
+    public void testSendMessagesToJmsThenOutofJmsToReceiver() throws Exception {
+        assertMessagesReceived();
+    }
+
+    protected AbstractXmlApplicationContext createBeanFactory() {
+        return new ClassPathXmlApplicationContext("org/apache/servicemix/components/quartz/example-cluster.xml");
+    }
+}

Propchange: incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/quartz/QuartzComponentClusterTest.java
------------------------------------------------------------------------------
    svn:eol-style = native