Author: jbonofre
Date: Wed Aug 18 12:01:53 2010
New Revision: 986637
URL: http://svn.apache.org/viewvc?rev=986637&view=rev
Log:
Resume xbean comments.
Removed:
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/
Modified:
servicemix/archetypes/trunk/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Modified:
servicemix/archetypes/trunk/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -20,6 +20,7 @@
</dependencies>
<build>
+ <defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Modified:
servicemix/archetypes/trunk/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -75,6 +75,7 @@
</dependencies>
<build>
+ <defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
Modified:
servicemix/archetypes/trunk/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Wed Aug 18 12:01:53 2010
@@ -4,7 +4,7 @@
xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
http://servicemix.apache.org/schema/servicemix-cxf...@{components-version}.xsd
+ xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
http://servicemix.apache.org/schema/servicemix-cxf...@{components.version}.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<!--
Modified:
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -1,22 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+ <!-- Generated by Apache ServiceMix Archetype -->
<modelVersion>4.0.0</modelVersion>
Modified:
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java
Wed Aug 18 12:01:53 2010
@@ -8,13 +8,6 @@ import javax.xml.bind.annotation.XmlSeeA
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
-/**
- * This class was generated by IONA FUSE Services Framework 2.1.3.0-fuse
- * Sun Nov 09 15:47:19 CST 2008
- * Generated source version: 2.1.3.0-fuse
- *
- */
-
@WebService
@XmlSeeAlso({${packageName}.types.ObjectFactory.class})
public interface Person {
Modified:
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
Wed Aug 18 12:01:53 2010
@@ -1,19 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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 ${packageName};
import javax.jws.WebService;
Modified:
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java
Wed Aug 18 12:01:53 2010
@@ -1,16 +1,7 @@
-
package ${packageName};
import javax.xml.ws.WebFault;
-
-/**
- * This class was generated by IONA FUSE Services Framework 2.1.3.0-fuse
- * Mon Nov 10 14:49:06 CST 2008
- * Generated source version: 2.1.3.0-fuse
- *
- */
-
@WebFault(name = "UnknownPersonFault")
public class UnknownPersonFault extends Exception {
public static final long serialVersionUID = 20081110144906L;
Modified:
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java
Wed Aug 18 12:01:53 2010
@@ -1,19 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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 ${packageName}.client;
import ${packageName}.*;
Modified:
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
Wed Aug 18 12:01:53 2010
@@ -1,23 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-
+<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
Modified:
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -1,22 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+ <!-- Generated by Apache ServiceMix Archetype -->
<modelVersion>4.0.0</modelVersion>
Modified:
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Wed Aug 18 12:01:53 2010
@@ -1,29 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
-
--->
+<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0
http://servicemix.apache.org/schema/servicemix-cxf...@{components-version}.xsd
- http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+ xsi:schemaLocation="
+ http://servicemix.apache.org/cxfse/1.0
http://servicemix.apache.org/schema/servicemix-cxf...@{components.version}.xsd
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+ <!--
+ ServiceMix CXF SE component is a JBI Service Engine exposing
(annotated) POJO
+ as services on the JBI Bus.
+ It uses Apache CXF internally to perform service invocations and XML
marshaling.
+ It supports:
+ - JSR-181 annotations
+ - JAXB2/Aegis/XMLBeans databinding
+ - WSDL auto generation
+ - Java proxy
+ - MTOM/attachment
+
+ You can get more information on the component wiki page and CXF
website:
+
+ http://servicemix.apache.org/servicemix-cxf-se.html
+ http://cxf.apache.org
+ -->
<!-- BEGIN SNIPPET: cxfse-pojo -->
+ <!--
+ The CXF SE endpoint provides a property named pojo.
+ You can expose any POJO which contains the @WebService annotation.
+
+ Attributes:
+ service : endpoint service name
+ endpoint : endpoint name
+ interfaceName : endpoint interface name
+ mtomEnabled : enable MTOM/attachment support
+ pojo : the instanciated POJO to service requests
+ useJBIWrapper : specifies if the endpoint expects to
receive the JBI wrapper
+ in the message received from the NMR
+ useSOAPEnvelope : specifies if the endpoint expects SOAP
message when useJBIWrapper
+ is false
+ useXmlBeans : specifies if the endpoint uses XMLBeans
databinding to marshal/unmarshal
+ message
+ useAegis : specifies if the endpoint uses Aegis
databinding to marshal/unmarshal
+ message
+ pojoService : specifies the servicemodel service name
generated from the POJO
+ pojoEndpoint : specifies the servicemodel endpoint name
generated from the POJO
+ -->
<cxfse:endpoint>
<cxfse:pojo>
<bean class="${packageName}.ExampleService" />
Modified:
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -1,22 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+ <!-- Generated by Apache ServiceMix Archetype -->
<modelVersion>4.0.0</modelVersion>
Modified:
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
Wed Aug 18 12:01:53 2010
@@ -1,19 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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 ${packageName};
import javax.jws.WebService;
Modified:
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Wed Aug 18 12:01:53 2010
@@ -1,22 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
-
--->
+<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -26,7 +9,7 @@
<!-- BEGIN SNIPPET: cxfse -->
<cxfse:endpoint>
<cxfse:pojo>
- <bean class="${packageName}.PersonImpl" />
+ <bean class="PersonImpl" />
</cxfse:pojo>
</cxfse:endpoint>
<!-- END SNIPPET: cxfse -->
Modified:
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -1,22 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+ <!-- Generated by Apache ServiceMix Archetype -->
<modelVersion>4.0.0</modelVersion>
Modified:
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
(original)
+++
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
Wed Aug 18 12:01:53 2010
@@ -1,19 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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.drools
import org.apache.servicemix.drools.model.Exchange;
Modified:
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Wed Aug 18 12:01:53 2010
@@ -1,28 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:drools="http://servicemix.apache.org/drools/1.0"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://servicemix.apache.org/drools/1.0
http://servicemix.apache.org/schema/servicemix-droo...@{components-version}.xsd
+ xsi:schemaLocation="http://servicemix.apache.org/drools/1.0
http://servicemix.apache.org/schema/servicemix-droo...@{components.version}.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+ <!--
+ The ServiceMix Drools component provides integration to the Drools
Rules Engine.
+
+ It can be used to deploy a rules set that will implement a router or
an actual service.
+
+ http://servicemix.apache.org/servicemix-drools.html
+ -->
+
<!-- BEGIN SNIPPET: drools -->
+ <!--
+ This drools endpoint implements rules described in router.drl file.
+
+ Attributes:
+ service : the endpoint service name
+ endpoint : the endpoint name
+ ruleBaseResource : the DRL file location
+ namespaceContext : the Drool namespace context
+ -->
<drools:endpoint service="replaceMe:serviceName"
endpoint="drools" ruleBaseResource="classpath:router.drl"
namespaceContext="#nsContext" />
Modified:
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -1,22 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+ <!-- Generated by Apache ServiceMix Archetype -->
<modelVersion>4.0.0</modelVersion>
Modified:
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Wed Aug 18 12:01:53 2010
@@ -1,26 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:eip="http://servicemix.apache.org/eip/1.0"
xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://servicemix.apache.org/eip/1.0
http://servicemix.apache.org/schema/servicemix-e...@{components-version}.xsd
+ xsi:schemaLocation="http://servicemix.apache.org/eip/1.0
http://servicemix.apache.org/schema/servicemix-e...@{components.version}.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+ <!--
+ WARNING: The ServiceMix EIP component is deprecated. Please use the
ServiceMix Camel component
+ to implement EIP.
+
+ The ServiceMix EIP component is a routing container where different
routing patterns can be
+ deployed as service unit.
+ The support patterns are:
+ - Content-Based Router
+ - Message Filter
+ - Pipeline
+ - Static Recipient List
+ - Static Routing Slip
+ - Wire Tap
+ - XPath Splitter
+ - Aggregator
+ - Content Enricher
+ - Resequencer
+ - AsyncBridge
+ -->
+
+ <!--
+ The EIP configuration is defined directly in the xbean.
+
+ Some EIP samples follow.
+ -->
+
<!-- BEGIN SNIPPET: static-recipient-list -->
<eip:static-recipient-list service="replaceMe:serviceName"
endpoint="static-recipient-list">
Modified:
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -9,7 +9,6 @@
<artifactId>${artifactId}</artifactId>
<version>${version}</version>
<name>Apache ServiceMix :: Embedded Simple</name>
- <url>http://www.myorganization.org</url>
<dependencies>
<dependency>
Modified:
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
(original)
+++
servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
Wed Aug 18 12:01:53 2010
@@ -1,19 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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 ${packageName};
import org.apache.servicemix.jbi.container.SpringJBIContainer;
Modified:
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
Wed Aug 18 12:01:53 2010
@@ -1,22 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+ <!-- Generated by Apache ServiceMix Archetype -->
<modelVersion>4.0.0</modelVersion>
Modified:
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Wed Aug 18 12:01:53 2010
@@ -1,28 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or
more
- contributor license agreements. See the NOTICE file distributed
with
- this work for additional information regarding copyright
ownership.
- The ASF licenses this file to You 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.
- -->
+<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:exec="http://servicemix.apache.org/exec/1.0"
xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
- http://servicemix.apache.org/exec/1.0
http://servicemix.apache.org/schema/servicemix-ex...@{components-version}.xsd
+ http://servicemix.apache.org/exec/1.0
http://servicemix.apache.org/schema/servicemix-ex...@{components.version}.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+ <!--
+ The ServiceMix Exec component is used to invoke commands (executables,
shell commands, scripts, ...).
+ The command can be static (defined in the component endpoint
descriptior, the xbean.xml) or
+ dynamic (provided in the incoming message, including arguments).
+
+ This endpoint provides an abstract WSDL exposed in the endpoint
definition.
+
+ http://servicemix.apache.org/servicemix-exec.html
+ -->
+
<!-- BEGIN SNIPPET: exec -->
+ <!--
+ The exec endpoint is quite simple. It's waiting for command in
incoming messages
+ and use "date" command as fallback if the incoming message doesn't
contain the
+ command message part.
+
+ Attributes:
+ service : the endpoint service name
+ endpoint : the endpoint name
+ interfaceName : the endpoint interface name
+ command : the fallback command or script
+ marshaler : the marshaler to use to parse the incoming
message and construct the exec command
+ -->
<exec:endpoint service="replaceMe:serviceName"
endpoint="exec" command="date" />
<!-- END SNIPPET: exec -->
Modified:
servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986637&r1=986636&r2=986637&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Wed Aug 18 12:01:53 2010
@@ -3,21 +3,80 @@
<beans xmlns:file="http://servicemix.apache.org/file/1.0"
xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://servicemix.apache.org/file/1.0
http://servicemix.apache.org/schema/servicemix-fi...@{components-version}.xsd
- http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+ xsi:schemaLocation="
+ http://servicemix.apache.org/file/1.0
http://servicemix.apache.org/schema/servicemix-fi...@{components.version}.xsd
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+ <!--
+ The ServiceMix File component provides integration to the file system.
+ It can be used to read and write files via URI or to periodically poll
directories
+ for new files.
+ -->
<!-- BEGIN SNIPPET: file-poller -->
+ <!--
+ The poller endpoint generates an InOnly message.
+
+ Attributes:
+ service : the endpoint service name
+ endpoint : the endpoint name
+ interfaceName : the endpoint interface name
+ targetService : the target endpoint service name
+ targetEndpoint : the target endpoint name
+ targetInterface : the target interface name
+ targetUri : the URI of the target endpoint
+ autoCreateDirectory : creates directory if it doesn't exist
+ firstTime : datetime before first poll can take
place
+ delay : amount of time first polling is
delayed after start
+ period : amount of time between polls
+ file : sets the file or directory to poll
+ deleteFile : delete file when it is processed
+ recursive : process sub directories
+ marshaler : implementation of FileMarshaler to
use (DefaultFileMarshaler by default)
+ lockManager : implementation of LockManager to use
(SimpleLockManager by default)
+ filter : implementation of FileFilter
(optional filter)
+ scheduler : Scheduler to use
+ comparator : implementation of Comparator<File>
interface
+ archive : sets the directory to archive files
before deleting them
+ -->
<file:poller service="replaceMe:serviceName" endpoint="file-poller"
targetService="replaceMe:targetService"
targetEndpoint="replaceMe:targetEndpoint"
file="file:/pool/directory">
<!-- Custom Marshaler, if you are not going to poll xml files. -->
<!--
- <property name="marshaler"> <bean
- class="org.apache.servicemix.components.util.BinaryFileMarshaler"
/>
+ <property name="marshaler">
+ <bean
class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
+ </property>
+ -->
+ <!-- Custom file filter which uses Apache Commons IO WildcardFilter.
-->
+ <!--
+ <property name="filter">
+ <bean class="org.apache.commons.io.filefilter.WildcardFilter">
+ <constructor-arg value="*.csv" />
+ </bean>
</property>
-->
</file:poller>
<!-- END SNIPPET: file-poller -->
+
+ <!-- BEGIN SNIPPET: file-sender -->
+ <!--
+ The sender endpoint creates a file from the incoming message and
writes it into the specified directory.
+
+ Attributes:
+ service : the endpoint service name
+ endpoint : the endpoint name
+ directory : the target directory where to write
created file
+ autoCreateDirectory : creates directory if it doesn't exist
+ append : append to an existing file instead
of overwriting it
+ marshaler : implementation of the FileMarshaler
to use (DefaultFileMarshaler by default)
+ tempFilePrefix : the prefix of the temporary file
used during file generation
+ tempFileSuffix : the suffix of the temporary file
used during file generation
+ -->
+ <file:sender service="replaceMe:serviceName"
+ endpoint="file-sender"
+ directory="file:target/files" />
+ <!-- END SNIPPET: file-sender -->
</beans>
\ No newline at end of file