camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject svn commit: r800448 - /camel/trunk/etc/eclipse/camel_java_templates.xml
Date Mon, 03 Aug 2009 16:10:36 GMT
Author: janstey
Date: Mon Aug  3 16:10:36 2009
New Revision: 800448

URL: http://svn.apache.org/viewvc?rev=800448&view=rev
Log:
CAMEL-1114 - update java eclipse templates for 2.0 API

Modified:
    camel/trunk/etc/eclipse/camel_java_templates.xml

Modified: camel/trunk/etc/eclipse/camel_java_templates.xml
URL: http://svn.apache.org/viewvc/camel/trunk/etc/eclipse/camel_java_templates.xml?rev=800448&r1=800447&r2=800448&view=diff
==============================================================================
--- camel/trunk/etc/eclipse/camel_java_templates.xml (original)
+++ camel/trunk/etc/eclipse/camel_java_templates.xml Mon Aug  3 16:10:36 2009
@@ -17,16 +17,16 @@
   specific language governing permissions and limitations
   under the License.
 -->
-<templates><template autoinsert="true" context="java" deleted="false" description="Creates
an Aggregator" enabled="true" name="camel_aggregator">from(${from_uri:var(String)}).aggregator(header("cheese")).to(${to_uri:var(String)});
+<templates><template autoinsert="true" context="java" deleted="false" description="Creates
an Aggregator" enabled="true" name="camel_aggregator">from(${from_uri:var(String)}).aggregate(header("cheese")).to(${to_uri:var(String)});
 </template><template autoinsert="true" context="java" deleted="false" description="Creates
a Content Based Router" enabled="true" name="camel_cbr">from(${from_uri:var(String)}).choice()
 .when().xpath("$$foo = 'bar'").to(${when_uri:var(String)})
 .when().xpath("$$foo = 'cheese'").to(${when2_uri:var(String)})
 .otherwise().to(${otherwise_uri:var(String)});
-</template><template autoinsert="true" context="java" deleted="false" description="Creates
a Delayer" enabled="true" name="camel_delayer">from(${from_uri:var(String)}).delayer(${milliseconds:var(Integer)}).to(${to_uri:var(String)});</template><template
autoinsert="true" context="java" deleted="false" description="Creates a Message Filter allows
you to filter messages. " enabled="true" name="camel_filter">from(${from_uri:var(String)}).
+</template><template autoinsert="true" context="java" deleted="false" description="Creates
a Delayer" enabled="true" name="camel_delayer">from(${from_uri:var(String)}).delay(${milliseconds:var(Integer)}).to(${to_uri:var(String)});</template><template
autoinsert="true" context="java" deleted="false" description="Creates a Message Filter allows
you to filter messages. " enabled="true" name="camel_filter">from(${from_uri:var(String)}).
   filter().xpath("/person[@name='${user}']").
   to(${result_uri:var(String)});</template><template autoinsert="true" context="java"
deleted="false" description="Creates a Load Balancer with a round robin strategy" enabled="true"
name="camel_loadbalancer_roundrobin">from(${from_uri:var(String)}).loadBalance().
 roundRobin().to(${to_uri:var(String)}, ${2nd_to_uri:var(String)}, ${3rd_to_uri:var(String)});</template><template
autoinsert="true" context="java" deleted="false" description="Creates a Multicast" enabled="true"
name="camel_multicast">from(${from_uri:var(String)}).multicast().to(${to_uri:var(String)},
${2nd_to_uri:var(String)}, ${3rd_to_uri:var(String)});</template><template autoinsert="true"
context="java" deleted="false" description="Creates a Pipeline whereby a message will be routed
through a series of endpoints." enabled="true" name="camel_pipeline">from(${from_uri:var(String)}).pipeline(${to_uri:var(String)},
${2nd_to_uri:var(String)}, ${3rd_to_uri:var(String)});</template><template autoinsert="true"
context="java" deleted="false" description="Creates an inline Processor so you can do custom
operations on the exchange" enabled="true" name="camel_processor_inline">new Processor()
{
     public void process(Exchange exchange) {
         // do stuff to the exchange
     }
-}</template><template autoinsert="true" context="java" deleted="false" description="Creates
a Dynamic Recipient List" enabled="true" name="camel_recipientlist">from(${from_uri:var(String)}).recipientList(header("foo"));</template><template
autoinsert="true" context="java" deleted="false" description="Creates a Resequencer" enabled="true"
name="camel_resequencer">from(${from_uri:var(String)}).resequencer(body()).to(${to_uri:var(String)});</template><template
autoinsert="true" context="java" deleted="false" description="Creates a Routing Slip with
the specified header containing the list of URIs." enabled="true" name="camel_routingslip">from(${from_uri:var(String)}).routingSlip(${slip_header_name:var(String)},
${uri_delimiter:var(String)});</template><template autoinsert="true" context="java"
deleted="false" description="Creates a Splitter" enabled="true" name="camel_splitter">from(${from_uri:var(String)}).splitter(xpath("//foo/bar")).to(${to_uri:var(String)})</template><templ
 ate autoinsert="true" context="java" deleted="false" description="Creates a Throttler" enabled="true"
name="camel_throttler">from(${from_uri:var(String)}).throttler(${number_of_messages:var(Integer)}).timePeriodMillis(${milliseconds:var(Integer)}).to(${to_uri:var(String)});</template></templates>
+}</template><template autoinsert="true" context="java" deleted="false" description="Creates
a Dynamic Recipient List" enabled="true" name="camel_recipientlist">from(${from_uri:var(String)}).recipientList(header("foo"));</template><template
autoinsert="true" context="java" deleted="false" description="Creates a Resequencer" enabled="true"
name="camel_resequencer">from(${from_uri:var(String)}).resequence(body()).to(${to_uri:var(String)});</template><template
autoinsert="true" context="java" deleted="false" description="Creates a Routing Slip with
the specified header containing the list of URIs." enabled="true" name="camel_routingslip">from(${from_uri:var(String)}).routingSlip(${slip_header_name:var(String)},
${uri_delimiter:var(String)});</template><template autoinsert="true" context="java"
deleted="false" description="Creates a Splitter" enabled="true" name="camel_splitter">from(${from_uri:var(String)}).split().xpath("//foo/bar").to(${to_uri:var(String)})</template><template
  autoinsert="true" context="java" deleted="false" description="Creates a Throttler" enabled="true"
name="camel_throttler">from(${from_uri:var(String)}).throttle(${number_of_messages:var(Integer)}).timePeriodMillis(${milliseconds:var(Integer)}).to(${to_uri:var(String)});</template></templates>



Mime
View raw message