You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2010/08/19 15:28:02 UTC

svn commit: r987158 - in /servicemix/archetypes/trunk: servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/ servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/ servicemix-mail-service-un...

Author: jbonofre
Date: Thu Aug 19 13:28:00 2010
New Revision: 987158

URL: http://svn.apache.org/viewvc?rev=987158&view=rev
Log:
Resume xbean comments.

Modified:
    servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml
    servicemix/archetypes/trunk/servicemix-mail-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml
    servicemix/archetypes/trunk/servicemix-osgi-bundle/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleCondition.java
    servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleFunction.java
    servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/archetypes/trunk/servicemix-project-root/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-quartz-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/query.xq
    servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/transform.xsl
    servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/GroovyExchangeProcessorJSR223.groovy
    servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/JSExchangeProcessorJSR223.js
    servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/RubyExchangeProcessorJSR223.rb
    servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
    servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/log4j.properties
    servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/spring.xml
    servicemix/archetypes/trunk/servicemix-smpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml

Modified: servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/pom.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/pom.xml Thu Aug 19 13:28:00 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-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml (original)
+++ servicemix/archetypes/trunk/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/src/main/resources/servicemix.xml Thu Aug 19 13:28:00 2010
@@ -1,29 +1,24 @@
 <?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:sm="http://servicemix.apache.org/config/1.0"
        xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
        xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/config/1.0 http://servicemix.apache.org/schema/servicemix-core-@{servicemix-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/config/1.0 http://servicemix.apache.org/schema/servicemix-core-@{servicemix.version}.xsd
+            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+  <!-- 
+      WARNING: the lightweight container component is deprecated. Please, use servicemix-bean instead.
+        
+      The ServiceMix LightWeight Container component start a ServiceMix instance using a servicemix.xml file.
+        
+          http://servicemix.apache.org/servicemix-lwcontainer.html
+  -->
+
+  <!-- 
+    This sample describe how to define a ServiceMix instance for a given Cache component.
+  -->
   <sm:serviceunit id="jbi">
     <sm:activationSpecs>
 

Modified: servicemix/archetypes/trunk/servicemix-mail-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-mail-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-mail-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-mail-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -3,10 +3,39 @@
 <beans xmlns:mail="http://servicemix.apache.org/mail/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/mail/1.0 http://servicemix.apache.org/schema/servicemix-mail-@{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/mail/1.0 http://servicemix.apache.org/schema/servicemix-mail-@{components.version}.xsd
+        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+    <!-- 
+        The ServiceMix Mail component provides support for receiving and sending mails via the bus.
+        
+            http://servicemix.apache.org/servicemix-mail.html
+    -->
 
     <!-- BEGIN SNIPPET: mail-poller -->
+    <!-- 
+        The Mail Poller endpoint connect to a mail server to poll mails, marshal the mail content and send it to the bus.
+        
+        Attributes:
+            service                         : the endpoint service name
+            endpoint                        : the endpoint name
+            targetService                   : the target endpoint service name
+            targetEndpoint                  : the target endpoint name
+            connection                      : sets the connection information. The connection URI looks like <protocol>://<user>@<host>[:port][/folder]?password=<password>
+                                              For example:
+                                                imap://user@hostname:143/INBOX?password=passwd
+                                                pop3://hostname/INBOX?user=user;password=passwd
+            deleteProcessedMessages         : delete mail from server when it's processed
+            processOnlyUnseenMessages       : process only mails which are new (unseen)
+            marshaler                       : extends AbstractMailMarshaler to define how to read mail
+            maxFetchSize                    : sets max amount of mails to fetch, -1 means no limit
+            debugMode                       : sets the debug mode for the JavaMail API
+            customTrustManagers             : sets on or more custom trust managers for use with SSL
+            storage                         : sets the storage to use for remembering the seen messages when using POP protocol
+            period                          : the poller interval (in milliseconds)
+            customProperties                : a map of custom properties for the connection
+    -->
     <mail:poller service="replaceMe:serviceName" endpoint="mail-poller"
         targetService="replaceMe:targetServiceName"
         targetEndpoint="targetEndpoint"
@@ -16,6 +45,24 @@
     <!-- END SNIPPET: mail-poller -->  
     
     <!-- BEGIN SNIPPET: mail-sender -->
+    <!-- 
+        The Mail Sender endpoint gets message from the bus and send mail using message content.
+        
+        Attributes:
+            service                         : the endpoint service name
+            endpoint                        : the endpoint name
+            sender                          : the sender mail address
+            receiver                        : the target mail address
+            debugMode                       : sets the debug mode for the JavaMail API
+            connection                      : sets the connection information. The connection URI looks like <protocol>://<user>@<host>[:port][/folder]?password=<password>
+                                              For example:
+                                                imap://user@hostname:143/INBOX?password=passwd
+                                                pop3://hostname/INBOX?user=user;password=passwd
+            marshaler                       : extends AbstractMailMarshaler to define how to read mail
+            ignoreMessageProperties         : a list of properties of the IN message which will be ignored
+            customProperties                : a map of custom properties for the connection
+            customTrustManagers             : sets one or more custom trust managers for use with SSL                                                            
+    -->
     <mail:sender service="replaceMe:serviceName" 
             endpoint="mail-sender"
             sender="no-reply@mycompany.com" 

Modified: servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml Thu Aug 19 13:28:00 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-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml Thu Aug 19 13:28:00 2010
@@ -1,28 +1,23 @@
-<?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.
--->
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by Apache ServiceMix Archetype -->
 <deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
         xmlns:pns="urn:/HelloWorld2-RPC.bpel"
         xmlns:sns="urn:/HelloWorld2-RPC.wsdl">
+    
+    <!-- 
+        This file is the main ODE descriptor.
+        
+        It's a kind of glue to load the BPEL file and the WSDL.
+        
+        You can take a look on the ODE website:
+        
+            http://ode.apache.org
+    -->    
     <process name="pns:HelloWorld2-RPC">
         <active>true</active>
         <provide partnerLink="helloPartnerLink">
             <service name="sns:HelloRPCService" port="HelloPort"/>
         </provide>
     </process>
+    
 </deploy>

Modified: servicemix/archetypes/trunk/servicemix-osgi-bundle/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-osgi-bundle/src/main/resources/archetype-resources/pom.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-osgi-bundle/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-osgi-bundle/src/main/resources/archetype-resources/pom.xml Thu Aug 19 13:28:00 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-osworkflow-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/pom.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/pom.xml Thu Aug 19 13:28:00 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-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleCondition.java
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleCondition.java?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleCondition.java (original)
+++ servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleCondition.java Thu Aug 19 13:28:00 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 java.util.Map;

Modified: servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleFunction.java
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleFunction.java?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleFunction.java (original)
+++ servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/java/ExampleFunction.java Thu Aug 19 13:28:00 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 java.util.Map;

Modified: servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-osworkflow-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -1,28 +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:osworkflow="http://servicemix.apache.org/osworkflow/1.0"
-	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	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/orworkflow/1.0 http://servicemix.apache.org/schema/servicemix-osworkflow-@{components-version}.xsd
+	xsi:schemaLocation="
+	   http://servicemix.apache.org/orworkflow/1.0 http://servicemix.apache.org/schema/servicemix-osworkflow-@{components.version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
+    <!-- 
+        The ServiceMix OSWorkflow component provides workflow functionality in the bus. You can specify one or
+        more workflows and it's processing will start when a valid message is received.
+        
+        If you have no experience with the OSWorkflow itself, then it would be a good idea to have a look at 
+        the website http://www.opensymphony.com/osworkflow/ and reading the documentation and tutorials there.
+        
+            http://servicemix.apache.org/servicemix-osworkflow.html
+    -->
+
     <!-- BEGIN SNIPPET: osworkflow -->
+    <!-- 
+        The OSWorkflow endpoint will receive messages from the NMR and will start then the processing
+        of the workflow. You can send both InOnly and InOut messages to this endpoint.
+        Sending an InOnly message will start the workflow in a separate thread, while sending an InOut
+        will result in synchronous processing of the workflow.
+        
+        Attributes:
+            service                         : the endpoint service name
+            endpoint                        : the endpoint name
+            action                          : the initial action called in workflow (must be an int value)
+            caller                          : if set, this will be set as the caller user name of the workflow
+            workflowName                    : the name of the workflow to start. This name must be specified in workflows.xml descriptor. 
+    -->
 	<osworkflow:endpoint service="replaceMe:serviceName"
 		endpoint="osworkflow" 
 		action="1" 

Modified: servicemix/archetypes/trunk/servicemix-project-root/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-project-root/src/main/resources/archetype-resources/pom.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-project-root/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-project-root/src/main/resources/archetype-resources/pom.xml Thu Aug 19 13:28:00 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-quartz-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-quartz-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-quartz-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-quartz-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -1,12 +1,33 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Generated by Apache ServiceMix Archetype -->
 <beans xmlns:quartz="http://servicemix.apache.org/quartz/1.0"
-	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	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/quartz/1.0 http://servicemix.apache.org/schema/servicemix-quartz-@{components-version}.xsd
+	xsi:schemaLocation="
+	   http://servicemix.apache.org/quartz/1.0 http://servicemix.apache.org/schema/servicemix-quartz-@{components.version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
+    <!-- 
+        The ServiceMix Quartz component is able to schedule and trigger jobs using the Quartz scheduler.
+        
+            http://servicemix.apache.org/servicemix-quartz.html
+            http://www.quartz-scheduler.org/
+    -->
+
 	<!-- BEGIN SNIPPET: cron-trigger -->
+	<!-- 
+	   The Cron Trigger endpoint use a Quartz cron.
+	   A cron looks like a Unix crontab entry to define event firing.
+	   
+	   Attributes:
+	       service                     : the endpoint service name
+	       endpoint                    : the endpoint name
+	       targetService               : the target endpoint service name
+	       targetEndpoint              : the target endpoint name
+	       trigger                     : the Quartz trigger to use
+	                                     Here we use a <quartz:cron/> with the cronExpression attribute
+	-->
 	<quartz:endpoint service="replaceMe:serviceName"
 		endpoint="cron-trigger" 
 		targetService="replaceMe:targetServiceName"
@@ -18,6 +39,18 @@
 	<!-- END SNIPPET: cron-trigger -->
 	
 	<!-- BEGIN SNIPPET: simple-trigger -->
+	<!-- 
+       The Simple Trigger endpoint use a Quartz simple trigger.
+       A Simple Trigger simply fires event at a given interval.
+       
+       Attributes:
+           service                     : the endpoint service name
+           endpoint                    : the endpoint name
+           targetService               : the target endpoint service name
+           targetEndpoint              : the target endpoint name
+           trigger                     : the Quartz trigger to use
+                                         Here we use a <quartz:simple/> with repeatCount and repeatInterval attributes
+    -->
     <quartz:endpoint service="replaceMe:serviceName"
         endpoint="simple-trigger" 
         targetService="replaceMe:targetServiceName"
@@ -29,6 +62,9 @@
     <!-- END SNIPPET:  -->
 	
 	<!-- BEGIN SNIPPET: quartz-custom-marshaler -->
+	<!--
+	   This sample shows the usage of a custom marshaler defining the jobDetail map content.
+	-->
     <quartz:endpoint service="replaceMe:serviceName"
         endpoint="quartz-custom-marshaler" 
         targetService="replaceMe:targetServiceName"

Modified: servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/query.xq
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/query.xq?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/query.xq (original)
+++ servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/query.xq Thu Aug 19 13:28:00 2010
@@ -1,19 +1,5 @@
 (:
-
-    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
 :)
 <titles>
 {

Modified: servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/transform.xsl
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/transform.xsl?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/transform.xsl (original)
+++ servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/transform.xsl Thu Aug 19 13:28:00 2010
@@ -1,22 +1,5 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-
-    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 -->
 <xsl:stylesheet
   xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
   version='1.0'>

Modified: servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-saxon-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -4,10 +4,38 @@
        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/saxon/1.0 http://servicemix.apache.org/schema/servicemix-saxon-@{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/saxon/1.0 http://servicemix.apache.org/schema/servicemix-saxon-@{components.version}.xsd
+            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+  <!-- 
+    The ServiceMix Saxon component is a service engine that use XSLT/XQuery. It's based on Saxon and supports
+    XSLT 2.0 and XPath 2.0, and XQuery 1.0.
+    
+        http://servicemix.apache.org/servicemix-saxon.html
+        http://saxon.sourceforge.net/
+  -->
 
   <!-- START SNIPPET: xquery --> 
+  <!-- 
+    The Saxon XQuery endpoint can be used to apply a selected XQuery to the input document.
+    
+    Attributes:
+        service                         : the endpoint service name
+        endpoint                        : the endpoint name
+        targetService                   : the target endpoint service name
+        targetEndpoint                  : the target endpoint name
+        query                           : inlined XQuery
+        resource                        : the Spring resource pointing to the XQuery
+        expression                      : expression used to dynamically load the XQuery
+        wsdlResource                    : if set, the WSDL will be retrieved from the given Spring resource
+        outputProperties                : Saxon specific output properties
+        configuration                   : Saxon configuration
+        result                          : output result type
+        copyAttachments                 : if set, copy the attachments in the output message
+        copyProperties                  : if set, copy the properties in the output message
+        copySubject                     : if set, copy the subject in the output message
+  -->
   <saxon:xquery service="replaceMe:serviceName" endpoint="saxon-xquery"
                 resource="classpath:query.xq" />
   <!-- END SNIPPET: xquery --> 
@@ -37,6 +65,26 @@
   <!-- END SNIPPET: xquery-dynamic -->
   
   <!--  START SNIPPET: saxon-xslt -->
+  <!-- 
+    The Saxon XSLT endpoint applies an XSLT stylesheet to the incoming exchange and will return
+    the transformed result as the output message.
+    
+    Attributes:
+        service                         : the endpoint service name
+        endpoint                        : the endpoint name
+        resource                        : the Spring resource pointing to the XSLT stylesheet file
+        expression                      : expression used to dynamically load the stylesheet
+        wsdlResource                    : if set, the WSDL will be retrieved from the given Spring resource
+        transformerFactory              : TraX factory to create transformers
+        configuration                   : Saxon configuration
+        result                          : output result type
+        copyAttachments                 : if set, copy the attachments in the output message
+        copyProperties                  : if set, copy the properties in the output message
+        copySubject                     : if set, copy the subject in the output message
+        useDomSourceForXslt             : force the transformation of the XSLT stylesheet into a DOM document before giving it to the transformer
+        useDomSourceForContent          : force the transformation of the incoming JBI message into a DOM document before giving it to the transformer
+        parameters                      : additional parameters to give to the transformation engine
+  -->
   <saxon:xslt service="replaceMe:serviceName" endpoint="saxon-xslt"
               resource="classpath:transform.xsl" />
   <!--  END SNIPPED: saxon-xslt -->           

Modified: servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/pom.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/pom.xml Thu Aug 19 13:28:00 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-script-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-script-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -1,31 +1,25 @@
 <?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:script="http://servicemix.apache.org/script/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/script/1.0 http://servicemix.apache.org/schema/servicemix-script-@{components-version}.xsd
+            http://servicemix.apache.org/script/1.0 http://servicemix.apache.org/schema/servicemix-script-@{components.version}.xsd
             http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
     
+    <!-- 
+        WARNING: The ServiceMix Script component is deprecated. Please use the ServiceMix Scripting component instead.
+        
+        The ServiceMix Script component provides integration with scripting engines.
+        
+            http://servicemix.apache.org/servicemix-script.html
+    -->
+    
     <!-- BEGIN SNIPPET: groovy -->    
+    <!-- 
+        The groovy endpoint uses Groovy scripting engine to apply transformation on message.
+    -->
     <script:exchangeProcessor service="replaceMe:serviceName" endpoint="groovy">
         <property name="helpers">
             <list>

Modified: servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/pom.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/pom.xml Thu Aug 19 13:28:00 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-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/GroovyExchangeProcessorJSR223.groovy
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/GroovyExchangeProcessorJSR223.groovy?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/GroovyExchangeProcessorJSR223.groovy (original)
+++ servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/GroovyExchangeProcessorJSR223.groovy Thu Aug 19 13:28:00 2010
@@ -1,18 +1,5 @@
 /*
- * 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
  */
 import javax.jbi.messaging.MessageExchange;
 import javax.jbi.messaging.NormalizedMessage;

Modified: servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/JSExchangeProcessorJSR223.js
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/JSExchangeProcessorJSR223.js?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/JSExchangeProcessorJSR223.js (original)
+++ servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/JSExchangeProcessorJSR223.js Thu Aug 19 13:28:00 2010
@@ -1,18 +1,5 @@
 /*
- * 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
  */
 importPackage(java.lang); 
 importPackage(javax.jbi.messaging);

Modified: servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/RubyExchangeProcessorJSR223.rb
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/RubyExchangeProcessorJSR223.rb?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/RubyExchangeProcessorJSR223.rb (original)
+++ servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/RubyExchangeProcessorJSR223.rb Thu Aug 19 13:28:00 2010
@@ -1,21 +1,5 @@
 # 
-# 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
 #
 include Java
 

Modified: servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-scripting-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -1,33 +1,44 @@
 <?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:scripting="http://servicemix.apache.org/scripting/1.0"
        xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
        xmlns:util="http://www.springframework.org/schema/util"
        xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/scripting/1.0 http://servicemix.apache.org/schema/servicemix-scripting-@{components-version}.xsd
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
-       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
+       xsi:schemaLocation="
+            http://servicemix.apache.org/scripting/1.0 http://servicemix.apache.org/schema/servicemix-scripting-@{components.version}.xsd
+            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+            http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
+
+    <!-- 
+        The ServiceMix Scripting component provides support for processing scripts using JSR-223.
+        
+        Scripting for the Java Platform (JSR-223) is an API that standardizes the way scripting language
+        are integrated with a Java application. Have a look at the project site to get an overview what 
+        languages are available and what dependencies they have (http://scripting.dev.java.net/).
+        
+            http://servicemix.apache.org/servicemix-scripting.html
+    -->
        
     <!-- BEGIN SNIPPET: groovy-jsr223  -->
+    <!-- 
+        The Groovy JSR-223 endpoint uses Groovy scripting engine to apply transformation to message.
+        
+        Attributes:
+            service                     : the endpoint service name
+            endpoint                    : the endpoint name
+            targetService               : the target endpoint service name
+            targetEndpoint              : the target endpoint name
+            marshaler                   : implementation of ScriptingMarshalerSupport to read/write message
+            script                      : Spring resource for the script file
+            language                    : script language to use (groovy, jruby, js, etc)
+            logResourceBundle           : Log Resource Bundle for Script Logger
+            scriptLogger                : the Logger to use
+            disableOutput               : flag if no out message should be sent
+            copyProperties              : flag if the message header will be copied to out message
+            copyAttachments             : flag if the message attachments will be copied to out message
+            bindings                    : the bindings map
+    -->
     <scripting:endpoint
         service="replaceMe:serviceName" 
         endpoint="groovy-jsr223"
@@ -37,6 +48,24 @@
     <!-- END SNIPPET: groovy-jsr223 -->
             
     <!-- BEGIN SNIPPET: jruby-jsr223  -->
+    <!-- 
+        The JRuby JSR-223 endpoint uses JRuby scripting engine to apply transformation to message.
+        
+        Attributes:
+            service                     : the endpoint service name
+            endpoint                    : the endpoint name
+            targetService               : the target endpoint service name
+            targetEndpoint              : the target endpoint name
+            marshaler                   : implementation of ScriptingMarshalerSupport to read/write message
+            script                      : Spring resource for the script file
+            language                    : script language to use (groovy, jruby, js, etc)
+            logResourceBundle           : Log Resource Bundle for Script Logger
+            scriptLogger                : the Logger to use
+            disableOutput               : flag if no out message should be sent
+            copyProperties              : flag if the message header will be copied to out message
+            copyAttachments             : flag if the message attachments will be copied to out message
+            bindings                    : the bindings map
+    -->
     <scripting:endpoint
         service="replaceMe:serviceName" 
         endpoint="jruby-jsr223"
@@ -46,6 +75,24 @@
     <!-- END SNIPPET: jruby-jsr223 -->
             
     <!-- BEGIN SNIPPET: javascript-jsr223 -->
+    <!-- 
+        The JavaScript JSR-223 endpoint uses JavaScript scripting engine to apply transformation to message.
+        
+        Attributes:
+            service                     : the endpoint service name
+            endpoint                    : the endpoint name
+            targetService               : the target endpoint service name
+            targetEndpoint              : the target endpoint name
+            marshaler                   : implementation of ScriptingMarshalerSupport to read/write message
+            script                      : Spring resource for the script file
+            language                    : script language to use (groovy, jruby, js, etc)
+            logResourceBundle           : Log Resource Bundle for Script Logger
+            scriptLogger                : the Logger to use
+            disableOutput               : flag if no out message should be sent
+            copyProperties              : flag if the message header will be copied to out message
+            copyAttachments             : flag if the message attachments will be copied to out message
+            bindings                    : the bindings map
+    -->
     <scripting:endpoint
         service="replaceMe:serviceName" 
         endpoint="javascript-jsr223"

Modified: servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java (original)
+++ servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java Thu Aug 19 13:28:00 2010
@@ -1,18 +1,5 @@
 /*
- * 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
  */
 package ${packageName};
 

Modified: servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/log4j.properties?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/log4j.properties (original)
+++ servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/log4j.properties Thu Aug 19 13:28:00 2010
@@ -1,21 +1,5 @@
 # 
-# 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
 #
 
 #

Modified: servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/spring.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/spring.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/spring.xml (original)
+++ servicemix/archetypes/trunk/servicemix-service-engine/src/main/resources/archetype-resources/src/test/resources/spring.xml Thu Aug 19 13:28:00 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:sm="http://servicemix.apache.org/config/1.0" 
 	     xmlns:my="http://${packageName}/1.0"
        xmlns:test="urn:test">

Modified: servicemix/archetypes/trunk/servicemix-smpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-smpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-smpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-smpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -5,10 +5,33 @@
        xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
-            http://servicemix.apache.org/smpp/1.0 http://servicemix.apache.org/schema/servicemix-smpp-@{components-version}.xsd
+            http://servicemix.apache.org/smpp/1.0 http://servicemix.apache.org/schema/servicemix-smpp-@{components.version}.xsd
             http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
+    <!-- 
+        The ServiceMix SMPP component provides support for receiving and sending SMS message using the
+        SMPP protocol.
+        It uses jSMPP library.
+        
+            http://servicemix.apache.org/servicemix-smpp.html
+    -->
+
     <!-- BEGIN SNIPPET: smpp-consumer -->
+    <!-- 
+        The SMPP Consumer endpoint connects to a SMPP server and waiting for SMS message. When it received
+        SMPP messages, it marshals it and send to the NMR.
+        
+        Attributes:
+            service                     : the endpoint service name
+            endpoint                    : the endpoint name
+            targetService               : the target endpoint service name
+            targetEndpoint              : the target endpoint name
+            host                        : the SMPP server hostname/IP
+            port                        : the SMPP server port number
+            systemId                    : the SMPP user system ID
+            password                    : the SMPP user password
+            marshaler                   : implementation of SmppMarshalerSupport to define how to read/write SMS message
+    -->
     <smpp:consumer service="replaceMe:serviceName"
                    endpoint="smpp-consumer"
                    host="smpp.your.com"
@@ -18,6 +41,20 @@
     <!-- END SNIPPET: smpp-consumer -->  
     
     <!-- BEGIN SNIPPET: smpp-provider -->
+    <!-- 
+        The SMPP Provider endpoint expects message coming from the NMR and send SMS via a SMPP server and waiting for SMS message. 
+        
+        Attributes:
+            service                     : the endpoint service name
+            endpoint                    : the endpoint name
+            targetService               : the target endpoint service name
+            targetEndpoint              : the target endpoint name
+            host                        : the SMPP server hostname/IP
+            port                        : the SMPP server port number
+            systemId                    : the SMPP user system ID
+            password                    : the SMPP user password
+            marshaler                   : implementation of SmppMarshalerSupport to define how to read/write SMS message
+    -->
     <smpp:provider service="replaceMe:serviceName"
                    endpoint="smpp-provider"
                    host="smpp.your.com"

Modified: servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=987158&r1=987157&r2=987158&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Aug 19 13:28:00 2010
@@ -4,10 +4,34 @@
        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-file-@{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-file-@{components.version}.xsd
+            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+    <!-- 
+        The ServiceMix SNMP component provides support for receiving SNMP events via the bus.
+        It uses SNMP4J API.
+        
+            http://servicemix.apache.org/servicemix-snmp.html
+    -->
 
     <!-- BEGIN SNIPPET: snmp-poller -->
+    <!-- 
+        The SNMP Poller endpoint periodically poll SNMP events.
+        
+        Attributes:
+            service                             : the endpoint service name
+            endpoint                            : the endpoint name
+            targetService                       : the target endpoint service name
+            targetEndpoint                      : the target endpoint name
+            oids                                : sets the resource containing all OIDs to poll
+            address                             : the address to use for SNMP connection
+            marshaler                           : implementation of SnmpMarshalerSupport to read/write SNMP events
+            retries                             : the retries for requesting the values via SNMP
+            timeout                             : the timeout in milliseconds for a request to be answered
+            snmpVersion                         : the SNMP version to use
+            snmpCommunity                       : the SNMP community
+    -->
     <snmp:poller service="replaceMe:serviceName"
                  endpoint="snmp-poller"
                  targetService="replaceMe:targetService"