Author: jbonofre
Date: Wed Aug 18 13:06:04 2010
New Revision: 986652

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

Modified:
    
servicemix/archetypes/trunk/servicemix-cxf-bc-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
    
servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    
servicemix/archetypes/trunk/servicemix-http-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    
servicemix/archetypes/trunk/servicemix-jms-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml

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=986652&r1=986651&r2=986652&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 13:06:04 2010
@@ -20,8 +20,6 @@
             - WS-RM
             - WS-Addressing
     -->
-
-    <!-- == CONSUMER ENDPOINT == -->
     
     <!-- 
         A consumer endpoint is a server side CXF endpoint that will consume
@@ -59,8 +57,6 @@
                targetInterface="replaceMe:targetInterface" />
     <!-- END SNIPPET: cxfbc-consumer -->
     
-    <!-- == PROVIDER ENDPOINT == -->
-    
     <!-- 
         A provider endpoint is a client side JBI endpoint which can receive 
requests from the NMR and send
         them to a given URL where the service is provided.

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=986652&r1=986651&r2=986652&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 13:06:04 2010
@@ -11,6 +11,8 @@
         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.
+        
+            http://servicemix.apache.org/servicemix-file.html
     -->
 
     <!-- BEGIN SNIPPET: file-poller -->

Modified: 
servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: 
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986652&r1=986651&r2=986652&view=diff
==============================================================================
--- 
servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 (original)
+++ 
servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 Wed Aug 18 13:06:04 2010
@@ -3,22 +3,70 @@
 <beans xmlns:ftp="http://servicemix.apache.org/ftp/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/ftp/1.0 
http://servicemix.apache.org/schema/servicemix-f...@{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/ftp/1.0 
http://servicemix.apache.org/schema/servicemix-f...@{components.version}.xsd
+        http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>
+
+    <!-- 
+        The ServiceMix FTP component provides integration to the FTP servers.
+        It can be used to read and write files over FTP or to periodically poll
+        directories for new files.
+        
+            http://servicemix.apache.org/servicemix-ftp.html
+    -->
 
     <!-- BEGIN SNIPPET: ftp-poller -->
+    <!-- 
+        The FTP Poller endpoint can be used to poll a FTP server directory for 
files, download them,
+        and send an InOnly exchange to the configured target service.
+        
+        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 endpoint interface name
+            targetUri               : the target endpoint URI
+            uri                     : the FTP URI to access the FTP server
+            autoCreateDirectory     : creates directory if it doesn't exist
+            archive                 : sets the directory URI to archive files 
before deleting them
+            deleteFile              : specifies if the file should be deleted 
from the FTP server after processing
+            stateless               : specifies if the polled file should be 
sent asynchronous or synchronous to the NMR
+            recursive               : specifies if subdirectories should be 
polled
+            filter                  : implementation of FileFilter to use
+            marshaler               : implementation of FileMarshaler to use 
to define how the file is read/write
+            lockManager             : implementation of LockManager. A custom 
lock manager can be used to cluster poller endpoints
+                                      or to keep track of processed files when 
the deleteFile attribute is set to false.
+            clientPool              : provide specific configuration for the 
FTP client pool                                      
+    -->
     <ftp:poller service="replaceMe:serviceName" endpoint="ftp-poller"
-        targetService="replaceMe:targetService" 
+        targetService="replaceMe:serviceName" 
         targetEndpoint="targetEndpoint"
         deleteFile="true"
         uri="ftp://servicemix:ro...@localhost/smx/test"; />
     <!-- END SNIPPET: ftp-poller --> 
     
     <!-- BEGIN SNIPPET: ftp-sender -->
-    <ftp:sender service="replaceMe:serviceName" endpoint="ftp-sender"
-        targetService="replaceMe:targetService"
-        targetEndpoint="targetEndpoint" 
-        uri="ftp://servicemix:ro...@localhost/smx/test"; />
+    <!-- 
+        The FTP Sender endpoint is used as provider endpoint (in the JBI 
sense) which accepts incoming
+        InOnly exchanges and write the content of the exchange to a file on 
the FTP server.
+        
+        Attributes:
+            service                 : the endpoint service name
+            endpoint                : the endpoint name
+            interfaceName           : the endpoint interface name
+            uri                     : the FTP URI to access the FTP server
+            autoCreateDirectory     : creates directory if it doesn't exist
+            overwrite               : if a file with the same name already 
exists on the FTP server, overwrite it
+            uniqueFileName          : name used to create unique files when 
the marshaler can not give a specific file name
+            marshaler               : implementation of FileMarshaler to use
+            clientPool              : provide specific configuration for the 
FTP client pool
+            uploadSuffix            : the file will be uploaded with this 
suffix (eg .tmp) and renamed when the upload is complete
+    -->
+    <ftp:sender service="replaceMe:serviceName" 
+                endpoint="ftp-sender"
+                uri="ftp://servicemix:ro...@localhost/smx/test"; />
     <!-- END SNIPPET: ftp-sender -->       
 
 </beans>
\ No newline at end of file

Modified: 
servicemix/archetypes/trunk/servicemix-http-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: 
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-http-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986652&r1=986651&r2=986652&view=diff
==============================================================================
--- 
servicemix/archetypes/trunk/servicemix-http-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 (original)
+++ 
servicemix/archetypes/trunk/servicemix-http-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 Wed Aug 18 13:06:04 2010
@@ -3,30 +3,139 @@
 <beans xmlns:http="http://servicemix.apache.org/http/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/http/1.0 
http://servicemix.apache.org/schema/servicemix-ht...@{components-version}.xsd
+       xsi:schemaLocation="
+          http://servicemix.apache.org/http/1.0 
http://servicemix.apache.org/schema/servicemix-ht...@{components.version}.xsd
        http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>
 
+    <!-- 
+        The ServiceMix HTTP component supports HTTP/SOAP message.
+        It supports:
+            - integration of Jetty 6
+            - highly performant and scalable using Jetty 6 continuations
+            - HTTP client using Commons HTTP Client
+            - SOAP 1.1 and 1.2
+            - MIME attachments
+            - WS-Addressing
+            - WSDL based and XBean based deployment
+            - all MEPs as consumers or providers
+            - SSL
+            - WS-Security
+    -->
+
     <!-- BEGIN SNIPPET: http-consumer -->
+    <!-- 
+        The HTTP Consumer endpoint is a server-side endpoint which exposes a 
service
+        in pure HTTP.
+        These endpoints receive HTTP messages, marshals it and send to the 
target service via the NMR.
+        
+        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 endpoint interface name
+            targetOperation         : the operation name for the JBI exchange
+            targetUri               : the target endpoint URI
+            authMethod              : HTTP authentication method to use, eg 
basic
+            locationURI             : the URI where to expose the message
+            ssl                     : the SslParameters to define SSL 
configuration
+            marshaler               : implementation of HttpConsumerMarshaler 
to use
+            timeout                 : the continuation timeout
+            defaultMep              : the URI of the MEP to use (InOut by 
default)
+    -->
        <http:consumer service="replaceMe:serviceName" endpoint="http-consumer"
            targetService="replaceMe:serviceName"
            targetEndpoint="targetEndpoint"
                locationURI="http://0.0.0.0:8192/example/"; />
     <!-- END SNIPPET: http-consumer -->                
     
-    <!-- BEGIN SNIPPET: http-consumer -->
+    <!-- BEGIN SNIPPET: http-soap-consumer -->
+    <!-- 
+        The HTTP SOAP Consumer endpoint is a server-side endpoint which 
exposes a service
+        in HTTP/SOAP.
+        These endpoints receive HTTP/SOAP messages, marshals it and send to 
the target service via the NMR.
+        
+        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 endpoint interface name
+            targetOperation         : the operation name for the JBI exchange
+            targetUri               : the target endpoint URI
+            authMethod              : HTTP authentication method to use, eg 
basic
+            locationURI             : the URI where to expose the message
+            ssl                     : the SslParameters to define SSL 
configuration
+            marshaler               : implementation of HttpConsumerMarshaler 
to use
+            timeout                 : the continuation timeout
+            defaultMep              : the URI of the MEP to use (InOut by 
default)
+            wsdl                    : the WSDL will be retrieved from the 
given location
+            useJbiWrapper           : specifies if the endpoint expects 
messages to use the JBI wrapper for SOAP messages
+            validateWsdl            : specifies if the exposed WSDL should be 
validated or not
+            policies                : specifies the policy (Policy[]) used by 
the SOAP endpoint
+    -->
     <http:soap-consumer service="replaceMe:serviceName" 
endpoint="http-soap-consumer"
         targetService="replaceMe:serviceName"
         targetEndpoint="targetEndpoint"
         wsdl="classpath:service.wsdl"
         locationURI="http://0.0.0.0:8192/example/"; />
-    <!-- END SNIPPET: http-consumer -->   
+    <!-- END SNIPPET: http-soap-consumer -->   
     
     <!-- BEGIN SNIPPET: http-provider -->
+    <!-- 
+        A provider endpoint is a client side JBI endpoint which can receive 
requests from the NMR and send
+        them to a given URL where the service is provided.
+        
+        Attributes:
+            service                 : the endpoint service name
+            endpoint                : the endpoint name
+            interfaceName           : the endpoint interface name
+            marshaler               : the implementation of the 
HttpProviderMarshaler to use
+            locationURI             : the target service URI
+            clientSoTimeout         : the client timeout
+            ssl                     : SslParameters used to specify SSL 
configuration
+            proxyHost               : the proxy hostname if you need to use a 
proxy
+            proxyPort               : the proxy port number if you need to use 
a proxy
+            proxyUsername           : the proxy username if you need to use a 
proxy
+            proxyPassword           : the proxy password if you need to use a 
proxy
+            gzipRequest             : if true, the request content will be 
gzipped and sent over the wire.
+                                      The Content-Encoding HTTP header will 
also be set to gzip.
+            expectGzippedResponse   : if true, the Accept-Encoding HTTP header 
will be set to gzip and the
+                                      response will be un-gzipped.             
                         
+    -->
     <http:provider service="replaceMe:serviceName" endpoint="http-provider"
         locationURI="http://192.168.0.12:8080"; />
     <!-- END SNIPPET: http-provider --> 
     
     <!-- BEGIN SNIPPET: http-provider -->
+    <!-- 
+        A provider endpoint is a client side JBI endpoint which can receive 
requests from the NMR and send
+        them to a given URL where the service is provided.
+        
+        Attributes:
+            service                 : the endpoint service name
+            endpoint                : the endpoint name
+            interfaceName           : the endpoint interface name
+            marshaler               : the implementation of the 
HttpProviderMarshaler to use
+            locationURI             : the target service URI
+            clientSoTimeout         : the client timeout
+            ssl                     : SslParameters used to specify SSL 
configuration
+            proxyHost               : the proxy hostname if you need to use a 
proxy
+            proxyPort               : the proxy port number if you need to use 
a proxy
+            proxyUsername           : the proxy username if you need to use a 
proxy
+            proxyPassword           : the proxy password if you need to use a 
proxy
+            gzipRequest             : if true, the request content will be 
gzipped and sent over the wire.
+                                      The Content-Encoding HTTP header will 
also be set to gzip.
+            expectGzippedResponse   : if true, the Accept-Encoding HTTP header 
will be set to gzip and the
+                                      response will be un-gzipped.    
+            wsdl                    : the WSDL will be retrieved from the 
given location
+            useJbiWrapper           : specifies if the endpoint expects 
messages to use the JBI wrapper for SOAP messages
+            validateWsdl            : specifies if the exposed WSDL should be 
validated or not
+            policies                : specifies the policy (Policy[]) used by 
the SOAP endpoint
+            soapAction              : the target SOAP action                   
                                                   
+    -->
     <http:soap-provider service="replaceMe:serviceName" 
endpoint="http-provider"
         wsdl="classpath:service.wsdl" />
     <!-- END SNIPPET: http-provider -->

Modified: 
servicemix/archetypes/trunk/servicemix-jms-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: 
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-jms-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986652&r1=986651&r2=986652&view=diff
==============================================================================
--- 
servicemix/archetypes/trunk/servicemix-jms-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 (original)
+++ 
servicemix/archetypes/trunk/servicemix-jms-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 Wed Aug 18 13:06:04 2010
@@ -1,20 +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:jms="http://servicemix.apache.org/jms/1.0";
        xmlns:replaceMe="http://servicemix.apache.org/replaceMe";
        xmlns:amq="http://activemq.org/config/1.0";


Reply via email to