You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ge...@apache.org on 2008/05/20 11:10:49 UTC

svn commit: r658174 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java

Author: gertv
Date: Tue May 20 02:10:48 2008
New Revision: 658174

URL: http://svn.apache.org/viewvc?rev=658174&view=rev
Log:
Adding a remark about the MEP being used to javadocs

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java?rev=658174&r1=658173&r2=658174&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/CamelTemplate.java Tue May 20 02:10:48 2008
@@ -16,6 +16,7 @@
  */
 package org.apache.camel;
 
+import java.security.spec.ECField;
 import java.util.HashMap;
 import java.util.Map;
 
@@ -299,6 +300,7 @@
 
     /**
      * Send the body to an endpoint returning any result output body
+     * Uses an {@link ExchangePattern#InOut} message exchange pattern
      *
      * @param endpoint
      * @param processor the processor which will populate the exchange before sending
@@ -310,6 +312,7 @@
 
     /**
      * Send the body to an endpoint returning any result output body
+     * Uses an {@link ExchangePattern#InOut} message exchange pattern
      *
      * @param endpoint
      * @param body     = the payload
@@ -321,6 +324,7 @@
 
     /**
      * Send the body to an endpoint returning any result output body
+     * Uses an {@link ExchangePattern#InOut} message exchange pattern
      *
      * @param endpoint
      * @param body        = the payload
@@ -334,6 +338,7 @@
 
     /**
      * Send the body to an endpoint returning any result output body
+     * Uses an {@link ExchangePattern#InOut} message exchange pattern
      *
      * @param endpoint
      * @param processor the processor which will populate the exchange before sending
@@ -345,6 +350,7 @@
 
     /**
      * Send the body to an endpoint returning any result output body
+     * Uses an {@link ExchangePattern#InOut} message exchange pattern
      *
      * @param endpoint
      * @param body     = the payload
@@ -356,6 +362,7 @@
 
     /**
      * Send the body to an endpoint returning any result output body
+     * Uses an {@link ExchangePattern#InOut} message exchange pattern
      *
      * @param endpoint
      * @param body        = the payload
@@ -399,10 +406,21 @@
         return send(getMandatoryDefaultEndpoint(), processor);
     }
 
+    /**
+     * Sends an {@link ExchangePattern#InOnly} exchange to the default endpoint using the supplied body, header and header value
+     * @param body the message body
+     * @param header the message header
+     * @param headerValue the message header value
+     */
     public Object sendBodyAndHeader(Object body, String header, Object headerValue) {
         return sendBodyAndHeader(getMandatoryDefaultEndpoint(), body, header, headerValue);
     }
 
+    /**
+     * Sends an {@link ExchangePattern#InOnly} exchange to the default endpoint
+     * @param body the message body
+     * @param headers a map with header values 
+     */
     public Object sendBodyAndHeaders(Object body, Map<String, Object> headers) {
         return sendBodyAndHeaders(getMandatoryDefaultEndpoint(), body, headers);
     }