camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r941182 - in /camel/trunk/camel-core/src/main/java/org/apache/camel: ./ builder/ builder/xml/ component/browse/ component/dataset/ component/direct/ component/file/ component/log/ component/mock/ component/seda/ component/timer/ component/v...
Date Wed, 05 May 2010 07:23:04 GMT
Author: davsclaus
Date: Wed May  5 07:23:03 2010
New Revision: 941182

URL: http://svn.apache.org/viewvc?rev=941182&view=rev
Log:
Polished javadoc

Added:
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/scan/package.html
      - copied, changed from r941150, camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/tokenizer/package.html
      - copied, changed from r941150, camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html
Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/Message.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/Route.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionClauseSupport.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/builder/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/browse/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/dataset/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/direct/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/vm/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/converter/AsyncProcessorConverter.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/converter/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultConsumerTemplate.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducer.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducerTemplate.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultRoute.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/constant/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/header/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/property/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/language/xpath/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/management/DefaultEventFactory.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/Constants.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertiesDefinition.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertyDefinition.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/package-info.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/RssDataFormat.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/package-info.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/idempotent/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/resequencer/package.html
    camel/trunk/camel-core/src/main/java/org/apache/camel/spi/EventFactory.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InflightRepository.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/util/CastUtils.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/Message.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/Message.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/Message.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/Message.java Wed May  5 07:23:03 2010
@@ -24,7 +24,7 @@ import javax.activation.DataHandler;
 /**
  * Implements the <a
  * href="http://camel.apache.org/message.html">Message</a> pattern and
- * represents an inbound or outbound message as part of an {@link Exchange}
+ * represents an inbound or outbound message as part of an {@link Exchange}.
  * <p/>
  * See {@link org.apache.camel.impl.DefaultMessage DefaultMessage} for how headers
  * is represented in Camel using a {@link org.apache.camel.util.CaseInsensitiveMap CaseInsensitiveMap}.

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/Route.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/Route.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/Route.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/Route.java Wed May  5 07:23:03 2010
@@ -21,6 +21,11 @@ import java.util.Map;
 
 import org.apache.camel.spi.RouteContext;
 
+/**
+ * A <a href="http://camel.apache.org/routes.html">Route</a>
+ * defines the processing used on an inbound message exchange
+ * from a specific {@link org.apache.camel.Endpoint} within a {@link org.apache.camel.CamelContext}
+ */
 public interface Route {
 
     String ID_PROPERTY = "id";

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionClauseSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionClauseSupport.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionClauseSupport.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/builder/ExpressionClauseSupport.java Wed May  5 07:23:03 2010
@@ -29,6 +29,8 @@ import org.apache.camel.spi.Language;
 import org.apache.camel.util.ObjectHelper;
 
 /**
+ * A support class for building expression clauses.
+ *
  * @version $Revision$
  */
 public class ExpressionClauseSupport<T> {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/builder/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/builder/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/builder/package.html Wed May  5 07:23:03 2010
@@ -19,13 +19,12 @@
 </head>
 <body>
 
-The Camel <a href="http://activemq.apache.org/camel/dsl.html">Domain Specific Language</a> for creating
-<a href="http://activemq.apache.org/camel/routes.html">Routes</a>,
-<a href="http://activemq.apache.org/camel/predicate.html">Predicates</a>,
-<a href="http://activemq.apache.org/camel/expression.html">Expressions</a> and
-<a href="http://activemq.apache.org/camel/error-handler.html">Error Handlers</a>. The entry point to the builder suite
-is the <a href="http://activemq.apache.org/camel/maven/camel-core/apidocs/org/apache/camel/builder/RouteBuilder.html">RouteBuilder</a>
-class.
+The Camel <a href="http://camel.apache.org/dsl.html">Domain Specific Language</a> for creating
+<a href="http://camel.apache.org/routes.html">Routes</a>,
+<a href="http://camel.apache.org/predicate.html">Predicates</a>,
+<a href="http://camel.apache.org/expression.html">Expressions</a> and
+<a href="http://camel.apache.org/error-handler.html">Error Handlers</a>. The entry point to the builder suite
+is the <a href="RouteBuilder.html">RouteBuilder</a> class.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/package.html Wed May  5 07:23:03 2010
@@ -19,9 +19,9 @@
 </head>
 <body>
 
-Support for XPath based <a href="http://activemq.apache.org/camel/expression.html">Expressions</a>
-and <a href="http://activemq.apache.org/camel/predicate.html">Predicates</a> as well as
-<a href="http://activemq.apache.org/camel/xslt.html">an XSLT processor</a>
+Support for XPath based <a href="http://camel.apache.org/expression.html">Expressions</a>
+and <a href="http://camel.apache.org/predicate.html">Predicates</a> as well as
+<a href="http://camel.apache.org/xslt.html">an XSLT processor</a>
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/browse/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/browse/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/browse/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/browse/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/browse.html">Browse Component</a> which is a simple in memory
+The <a href="http://camel.apache.org/browse.html">Browse Component</a> which is a simple in memory
 component which maintains a list of all message exchanges which can be useful for debugging, tooling or visualistion.
 
 </body>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/dataset/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/dataset/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/dataset/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/dataset/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-A <a href="http://activemq.apache.org/camel/dataset.html">DataSet Endpoint</a> for testing of endpoints using defined DataSets
+A <a href="http://camel.apache.org/dataset.html">DataSet Endpoint</a> for testing of endpoints using defined DataSets
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/direct/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/direct/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/direct/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/direct/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/direct.html">Direct Component</a> which synchronously invokes
+The <a href="http://camel.apache.org/direct.html">Direct Component</a> which synchronously invokes
 all the consumers when a producer sends an exchange to the endpoint.  This also known as <i>strait through processing</i>. 
 
 </body>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/file.html">File Component</a> for working with file systems.
+The <a href="http://camel.apache.org/file.html">File Component</a> for working with file systems.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/log.html">Log Component</a> uses Jakarta Commons Logging to log message exchanges.
+The <a href="http://camel.apache.org/log.html">Log Component</a> uses Jakarta Commons Logging to log message exchanges.
 
 
 </body>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/mock.html">Mock Component</a> which is used for testing of routing and mediation rules.
+The <a href="http://camel.apache.org/mock.html">Mock Component</a> which is used for testing of routing and mediation rules.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/seda.html">SEDA Component</a> for asynchronous
+The <a href="http://camel.apache.org/seda.html">SEDA Component</a> for asynchronous
 <a href="http://www.eecs.harvard.edu/~mdw/proj/seda/">SEDA</a> exchanges on a
 <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BlockingQueue.html">BlockingQueue</a>
 within a single CamelContext

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/timer.html">Timer Component</a> extends the POJO component to provide a
+The <a href="http://camel.apache.org/timer.html">Timer Component</a> extends the POJO component to provide a
 simple timer
 
 </body>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/vm/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/vm/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/vm/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/vm/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://activemq.apache.org/camel/vm.html">VM Component</a> for asynchronous
+The <a href="http://camel.apache.org/vm.html">VM Component</a> for asynchronous
 <a href="http://www.eecs.harvard.edu/~mdw/proj/seda/">SEDA</a> exchanges on a
 <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/BlockingQueue.html">BlockingQueue</a>
 within the current JVM; so across CamelContext instances. Note that this communication can only take place

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/converter/AsyncProcessorConverter.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/AsyncProcessorConverter.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/converter/AsyncProcessorConverter.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/converter/AsyncProcessorConverter.java Wed May  5 07:23:03 2010
@@ -24,6 +24,8 @@ import org.apache.camel.Processor;
 import org.apache.camel.processor.DelegateProcessor;
 
 /**
+ * A type converter to convert a {@link Processor} to {@link org.apache.camel.AsyncProcessor}.
+ *
  * @version $Revision$
  */
 @Converter
@@ -44,8 +46,9 @@ public final class AsyncProcessorConvert
                 processor.process(exchange);
             } catch (Exception e) {
                 exchange.setException(e);
+            } finally {
+                callback.onTaskCompleted(exchange);
             }
-            callback.onTaskCompleted(exchange);
         }
     }
 

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/package.html Wed May  5 07:23:03 2010
@@ -20,7 +20,7 @@
 <body>
 
 A number of JAXP related helper classes for converting to and from various JAXP related classes like Document and Source to be used by a 
-<a href="http://activemq.apache.org/camel/maven/camel-core/apidocs/org/apache/camel/TypeConverter.html">TypeConverter</a>
+<a href="http://camel.apache.org/maven/camel-core/apidocs/org/apache/camel/TypeConverter.html">TypeConverter</a>
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/converter/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/converter/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/converter/package.html Wed May  5 07:23:03 2010
@@ -20,7 +20,7 @@
 <body>
 
 A set of helper classes for converting from different types of Java object to be used by the
-<a href="http://activemq.apache.org/camel/type-converter.html">Type Conversion Support</a>
+<a href="http://camel.apache.org/type-converter.html">Type Conversion Support</a>
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultConsumerTemplate.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultConsumerTemplate.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultConsumerTemplate.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultConsumerTemplate.java Wed May  5 07:23:03 2010
@@ -26,6 +26,10 @@ import org.apache.camel.util.ServiceHelp
 import static org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException;
 
 /**
+ * Template (named like Spring's TransactionTemplate & JmsTemplate
+ * et al) for working with Camel and consuming {@link org.apache.camel.Message} instances in an
+ * {@link Exchange} from an {@link Endpoint}.
+ *
  * @version $Revision$
  */
 public class DefaultConsumerTemplate extends ServiceSupport implements ConsumerTemplate {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducer.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducer.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducer.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducer.java Wed May  5 07:23:03 2010
@@ -24,7 +24,7 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 /**
- * A default implementation of @{link Producer} for implementation inheritance
+ * A default implementation of {@link Producer} for implementation inheritance.
  *
  * @version $Revision$
  */

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducerTemplate.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducerTemplate.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducerTemplate.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducerTemplate.java Wed May  5 07:23:03 2010
@@ -38,6 +38,10 @@ import org.apache.camel.util.ObjectHelpe
 import org.apache.camel.util.ServiceHelper;
 
 /**
+ * Template (named like Spring's TransactionTemplate & JmsTemplate
+ * et al) for working with Camel and sending {@link Message} instances in an
+ * {@link Exchange} to an {@link Endpoint}.
+ *
  * @version $Revision$
  */
 public class DefaultProducerTemplate extends ServiceSupport implements ProducerTemplate {
@@ -632,7 +636,7 @@ public class DefaultProducerTemplate ext
         return executor.submit(task);
     }
    
-    public Future<Object> asyncCallback(final Endpoint endpoint, final ExchangePattern pattern, final Object body, final Synchronization onCompletion) {
+    private Future<Object> asyncCallback(final Endpoint endpoint, final ExchangePattern pattern, final Object body, final Synchronization onCompletion) {
         Callable<Object> task = new Callable<Object>() {
             public Object call() throws Exception {
                 Exchange answer = send(endpoint, pattern, createSetBodyProcessor(body));

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultRoute.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultRoute.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultRoute.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultRoute.java Wed May  5 07:23:03 2010
@@ -27,9 +27,7 @@ import org.apache.camel.Service;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * A <a href="http://camel.apache.org/routes.html">Route</a>
- * defines the processing used on an inbound message exchange
- * from a specific {@link org.apache.camel.Endpoint} within a {@link org.apache.camel.CamelContext}
+ * Default implementation of {@link Route}.
  *
  * @version $Revision$
  */

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Default implementation classes the <a href="http://activemq.apache.org/camel/type-converter.html">Type Conversion Strategies</a>
+Default implementation classes the <a href="http://camel.apache.org/type-converter.html">Type Conversion Strategies</a>
 
 </body>
 </html>

Copied: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/scan/package.html (from r941150, camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html)
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/scan/package.html?p2=camel/trunk/camel-core/src/main/java/org/apache/camel/impl/scan/package.html&p1=camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html&r1=941150&r2=941182&rev=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/converter/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/scan/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Default implementation classes the <a href="http://activemq.apache.org/camel/type-converter.html">Type Conversion Strategies</a>
+Package scan classes.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/bean/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Camel <a href="http://activemq.apache.org/camel/bean-language.html">Bean</a> language.
+Camel <a href="http://camel.apache.org/bean-language.html">Bean</a> language.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/language/constant/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/constant/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/constant/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/constant/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Camel <a href="http://activemq.apache.org/camel/constant.html">Constant</a> language.
+Camel <a href="http://camel.apache.org/constant.html">Constant</a> language.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/language/header/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/header/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/header/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/header/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Camel <a href="http://activemq.apache.org/camel/header.html">Header</a> language.
+Camel <a href="http://camel.apache.org/header.html">Header</a> language.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/language/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/package.html Wed May  5 07:23:03 2010
@@ -19,8 +19,8 @@
 </head>
 <body>
 
-Camel language support such as <a href="http://activemq.apache.org/camel/bean-language.html">Bean</a>
-and <a href="http://activemq.apache.org/camel/simple.html">Simple</a> language.
+Camel language support such as <a href="http://camel.apache.org/bean-language.html">Bean</a>
+and <a href="http://camel.apache.org/simple.html">Simple</a> language.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/language/property/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/property/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/property/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/property/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Camel <a href="http://activemq.apache.org/camel/header.html">Property</a> language.
+Camel <a href="http://camel.apache.org/header.html">Property</a> language.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Camel <a href="http://activemq.apache.org/camel/simple.html">Simple</a> language.
+Camel <a href="http://camel.apache.org/simple.html">Simple</a> language.
 
 </body>
 </html>

Copied: camel/trunk/camel-core/src/main/java/org/apache/camel/language/tokenizer/package.html (from r941150, camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html)
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/tokenizer/package.html?p2=camel/trunk/camel-core/src/main/java/org/apache/camel/language/tokenizer/package.html&p1=camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html&r1=941150&r2=941182&rev=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/simple/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/tokenizer/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Camel <a href="http://activemq.apache.org/camel/simple.html">Simple</a> language.
+Camel Tokenizer language.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/language/xpath/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/language/xpath/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/language/xpath/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/language/xpath/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Camel <a href="http://activemq.apache.org/camel/xpath.html">XPath</a> language support.
+Camel <a href="http://camel.apache.org/xpath.html">XPath</a> language support.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/management/DefaultEventFactory.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/management/DefaultEventFactory.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/management/DefaultEventFactory.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/management/DefaultEventFactory.java Wed May  5 07:23:03 2010
@@ -41,6 +41,8 @@ import org.apache.camel.management.event
 import org.apache.camel.spi.EventFactory;
 
 /**
+ * Default implementation of the {@link org.apache.camel.spi.EventFactory}.
+ *
  * @version $Revision$
  */
 public class DefaultEventFactory implements EventFactory {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/Constants.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/Constants.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/Constants.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/Constants.java Wed May  5 07:23:03 2010
@@ -17,6 +17,8 @@
 package org.apache.camel.model;
 
 /**
+ * Various constants.
+ *
  * @version $Revision$
  */
 public final class Constants {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertiesDefinition.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertiesDefinition.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertiesDefinition.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertiesDefinition.java Wed May  5 07:23:03 2010
@@ -26,7 +26,7 @@ import javax.xml.bind.annotation.XmlElem
 import javax.xml.bind.annotation.XmlRootElement;
 
 /**
- * Represents the XML type for a collection of DataFormats.
+ * Represents the XML type for &lt;properties&gt;.
  */
 @XmlRootElement(name = "properties")
 @XmlAccessorType(XmlAccessType.FIELD)

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertyDefinition.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertyDefinition.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertyDefinition.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/PropertyDefinition.java Wed May  5 07:23:03 2010
@@ -21,6 +21,9 @@ import javax.xml.bind.annotation.XmlAcce
 import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlRootElement;
 
+/**
+ * Represents the XML type for &lt;property&gt;.
+ */
 @XmlRootElement(name = "property")
 @XmlAccessorType(XmlAccessType.FIELD)
 public class PropertyDefinition {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/package-info.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/package-info.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/package-info.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/package-info.java Wed May  5 07:23:03 2010
@@ -16,7 +16,7 @@
  */
 
 /**
- * The Resequencer Configuration classes
+ * Configuration for various EIP patterns
  */
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://camel.apache.org/schema/spring", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
 package org.apache.camel.model.config;

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java Wed May  5 07:23:03 2010
@@ -27,6 +27,11 @@ import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.RouteContext;
 import org.apache.camel.util.ObjectHelper;
 
+/**
+ * Represents the Json {@link DataFormat}
+ *
+ * @version $Revision$
+ */
 @XmlRootElement(name = "json")
 @XmlAccessorType(XmlAccessType.FIELD)
 public class JsonDataFormat extends DataFormatDefinition {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/RssDataFormat.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/RssDataFormat.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/RssDataFormat.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/dataformat/RssDataFormat.java Wed May  5 07:23:03 2010
@@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlRoot
 import org.apache.camel.model.DataFormatDefinition;
 
 /**
- * Represents a <a href="http://camel.apache.org/rss.html">RSS</a> {@link org.apache.camel.spi.DataFormat}.
+ * Represents the <a href="http://camel.apache.org/rss.html">RSS</a> {@link org.apache.camel.spi.DataFormat}.
  */
 @XmlRootElement(name = "rss")
 @XmlAccessorType(XmlAccessType.FIELD)

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java Wed May  5 07:23:03 2010
@@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlRoot
 
 /**
  * For expressions and predicates using the
- * <a href="http://camel.apache.org/simple.html>simple language</a>
+ * <a href="http://camel.apache.org/simple.html">simple language</a>
  *
  * @version $Revision$
  */

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java Wed May  5 07:23:03 2010
@@ -29,6 +29,9 @@ import org.apache.camel.processor.loadba
 import org.apache.camel.processor.loadbalancer.LoadBalancer;
 import org.apache.camel.spi.RouteContext;
 
+/**
+ * Represents an XML &lt;failover/&gt; element
+ */
 @XmlRootElement(name = "failover")
 @XmlAccessorType(XmlAccessType.FIELD)
 public class FailoverLoadBalancerDefinition extends LoadBalancerDefinition {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/package-info.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/package-info.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/package-info.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/loadbalancer/package-info.java Wed May  5 07:23:03 2010
@@ -16,7 +16,7 @@
  */
 
 /**
- * The LoadBalancer and the LoadBalancerStrategy JAXB Objects
+ * The <a href="http://camel.apache.org/load-balancer.html">Load Balancer</a> EIP pattern
  */
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://camel.apache.org/schema/spring", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
 package org.apache.camel.model.loadbalancer;

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/aggregate/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Helper classes for the <a href="http://activemq.apache.org/camel/aggregator.html">Aggregator</a> pattern.
+Helper classes for the <a href="http://camel.apache.org/aggregator.html">Aggregator</a> pattern.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Exception policy startegies for <a href="http://activemq.apache.org/camel/dead-letter-channel.html">Dead Letter Channel</a> pattern.
+Exception policy startegies for <a href="http://camel.apache.org/dead-letter-channel.html">Dead Letter Channel</a> pattern.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/idempotent/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/idempotent/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/idempotent/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/idempotent/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-An implementation of the <a href="http://activemq.apache.org/camel/idempotent-consumer.html">Idempotent Consumer</a>
+An implementation of the <a href="http://camel.apache.org/idempotent-consumer.html">Idempotent Consumer</a>
 pattern.
 
 </body>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/package.html Wed May  5 07:23:03 2010
@@ -19,9 +19,9 @@
 </head>
 <body>
 
-A collection of <a href="http://activemq.apache.org/camel/maven/camel-core/apidocs/org/apache/camel/Processor.html">Processor</a>
+A collection of <a href="http://camel.apache.org/maven/camel-core/apidocs/org/apache/camel/Processor.html">Processor</a>
 implementations which are used to implement the
-<a href="http://activemq.apache.org/camel/enterprise-integration-patterns.html">Enterprise Integration Patterns</a>
+<a href="http://camel.apache.org/enterprise-integration-patterns.html">Enterprise Integration Patterns</a>
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/resequencer/package.html
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/resequencer/package.html?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/resequencer/package.html (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/resequencer/package.html Wed May  5 07:23:03 2010
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-Helper classes for the <a href="http://activemq.apache.org/camel/resequencer.html">Resequencer</a> pattern.
+Helper classes for the <a href="http://camel.apache.org/resequencer.html">Resequencer</a> pattern.
 
 </body>
 </html>

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/spi/EventFactory.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/EventFactory.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/spi/EventFactory.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/spi/EventFactory.java Wed May  5 07:23:03 2010
@@ -25,7 +25,7 @@ import org.apache.camel.Processor;
 import org.apache.camel.Route;
 
 /**
- * Factory to create {@link java.util.EventObject} events} that are emitted when such an event occur.
+ * Factory to create {@link java.util.EventObject events} that are emitted when such an event occur.
  * <p/>
  * For example when an {@link Exchange} is being created and then later when its done.
  *

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HeaderFilterStrategy.java Wed May  5 07:23:03 2010
@@ -18,43 +18,50 @@ package org.apache.camel.spi;
 
 import org.apache.camel.Exchange;
 
- /**
-  * Interface to allow plug-able implementation to filter header
-  * to and from Camel message.
-  * 
-  * @since 1.5
-  * @version $Revision$
-  */
+/**
+ * Interface to allow plug-able implementation to filter header to and from Camel message.
+ *
+ * @version $Revision$
+ */
 public interface HeaderFilterStrategy {
 
-    public enum Direction { IN, OUT }
+    /**
+     * The direction is either <tt>IN</tt> or <tt>OUT</tt>.
+     */
+    public enum Direction {
+        IN, OUT
+    }
 
     /**
      * Applies filtering logic to Camel Message header that is
      * going to be copied to target message such as CXF and JMS message.
-     * It returns true if the filtering logics return a match.  Otherwise,
-     * it returns false.  A match means the header should be excluded.
-     * 
+     * <p/>
+     * It returns <tt>true</tt> if the filtering logic return a match.
+     * Otherwise, it returns <tt>false</tt>.
+     * A match means the header should be excluded.
+     *
      * @param headerName  the header name
      * @param headerValue the header value
-     * @param exchange the context to perform filtering
+     * @param exchange    the context to perform filtering
      * @return <tt>true</tt> if this header should be filtered out.
      */
     boolean applyFilterToCamelHeaders(String headerName, Object headerValue, Exchange exchange);
 
-    
+
     /**
-     * Applies filtering logic to an external message header such 
+     * Applies filtering logic to an external message header such
      * as CXF and JMS message that is going to be copied to Camel
      * message header.
-     * It returns true if the filtering logics return a match.  Otherwise,
-     * it returns false.  A match means the header should be excluded.
-     *  
+     * <p/>
+     * It returns <tt>true</tt> if the filtering logic return a match.
+     * Otherwise, it returns <tt>false</tt>.
+     * A match means the header should be excluded.
+     *
      * @param headerName  the header name
      * @param headerValue the header value
-     * @param exchange the context to perform filtering
+     * @param exchange    the context to perform filtering
      * @return <tt>true</tt> if this header should be filtered out.
      */
     boolean applyFilterToExternalHeaders(String headerName, Object headerValue, Exchange exchange);
-    
+
 }

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InflightRepository.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InflightRepository.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InflightRepository.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/spi/InflightRepository.java Wed May  5 07:23:03 2010
@@ -21,6 +21,8 @@ import org.apache.camel.Exchange;
 import org.apache.camel.Service;
 
 /**
+ * A repository which tracks in flight {@link Exchange}s.
+ *
  * @version $Revision$
  */
 public interface InflightRepository extends Service {

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/util/CastUtils.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/CastUtils.java?rev=941182&r1=941181&r2=941182&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/util/CastUtils.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/util/CastUtils.java Wed May  5 07:23:03 2010
@@ -25,88 +25,99 @@ import java.util.Map;
 import java.util.Queue;
 import java.util.Set;
 import java.util.concurrent.Future;
-
 import javax.naming.NamingEnumeration;
 
+/**
+ * Utility methods for type casting.
+ */
 @SuppressWarnings("unchecked")
 public final class CastUtils {
-    
+
     private CastUtils() {
         //utility class, never constructed
     }
-    
+
     public static <T, U> Map<T, U> cast(Map<?, ?> p) {
-        return (Map<T, U>)p;
+        return (Map<T, U>) p;
     }
+
     public static <T, U> Map<T, U> cast(Map<?, ?> p, Class<T> t, Class<U> u) {
-        return (Map<T, U>)p;
+        return (Map<T, U>) p;
     }
-    
+
     public static <T> Collection<T> cast(Collection<?> p) {
-        return (Collection<T>)p;
+        return (Collection<T>) p;
     }
+
     public static <T> Collection<T> cast(Collection<?> p, Class<T> cls) {
-        return (Collection<T>)p;
+        return (Collection<T>) p;
     }
+
     public static <T> List<T> cast(List<?> p) {
-        return (List<T>)p;
+        return (List<T>) p;
     }
-    
+
     public static <T> List<T> cast(List<?> p, Class<T> cls) {
-        return (List<T>)p;
+        return (List<T>) p;
     }
 
     public static <T> Iterator<T> cast(Iterator<?> p) {
-        return (Iterator<T>)p;
+        return (Iterator<T>) p;
     }
-    
+
     public static <T> Iterator<T> cast(Iterator<?> p, Class<T> cls) {
-        return (Iterator<T>)p;
+        return (Iterator<T>) p;
     }
-    
+
     public static <T> Set<T> cast(Set<?> p) {
-        return (Set<T>)p;
+        return (Set<T>) p;
     }
+
     public static <T> Set<T> cast(Set<?> p, Class<T> cls) {
-        return (Set<T>)p;
+        return (Set<T>) p;
     }
 
     public static <T> Queue<T> cast(Queue<?> p) {
-        return (Queue<T>)p;
+        return (Queue<T>) p;
     }
+
     public static <T> Queue<T> cast(Queue<?> p, Class<T> cls) {
-        return (Queue<T>)p;
+        return (Queue<T>) p;
     }
 
     public static <T, U> Hashtable<T, U> cast(Hashtable<?, ?> p) {
-        return (Hashtable<T, U>)p;
+        return (Hashtable<T, U>) p;
     }
+
     public static <T, U> Hashtable<T, U> cast(Hashtable<?, ?> p, Class<T> pc, Class<U> uc) {
-        return (Hashtable<T, U>)p;
+        return (Hashtable<T, U>) p;
     }
 
     public static <T, U> Map.Entry<T, U> cast(Map.Entry<?, ?> p) {
-        return (Map.Entry<T, U>)p;
+        return (Map.Entry<T, U>) p;
     }
+
     public static <T, U> Map.Entry<T, U> cast(Map.Entry<?, ?> p, Class<T> pc, Class<U> uc) {
-        return (Map.Entry<T, U>)p;
+        return (Map.Entry<T, U>) p;
     }
 
     public static <T> Enumeration<T> cast(Enumeration<?> p) {
-        return (Enumeration<T>)p;
+        return (Enumeration<T>) p;
     }
+
     public static <T> NamingEnumeration<T> cast(NamingEnumeration<?> p) {
-        return (NamingEnumeration<T>)p;
+        return (NamingEnumeration<T>) p;
     }
 
     public static <T> Class<T> cast(Class<?> p) {
-        return (Class<T>)p;
+        return (Class<T>) p;
     }
+
     public static <T> Class<T> cast(Class<?> p, Class<T> cls) {
-        return (Class<T>)p;
+        return (Class<T>) p;
     }
 
     public static <T> Future<T> cast(Future<?> p) {
-        return (Future<T>)p;
+        return (Future<T>) p;
     }
 }



Mime
View raw message