blob: 6af5acce14477cf90a5b0b4074cde20f5d263e8c [file] [log] [blame]
<?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.
-->
<templates><template autoinsert="true" context="xml_all" deleted="false" description="Creates an Aggregator" enabled="true" name="camel_aggregator">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;aggregate&gt;
&lt;correlationExpression&gt;
&lt;simple&gt;header.cheese&lt;/simple&gt;
&lt;/correlationExpression&gt;
&lt;to uri="to_uri"/&gt;
&lt;/aggregate&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Content Based Router" enabled="true" name="camel_cbr">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;choice&gt;
&lt;when&gt;
&lt;xpath&gt;$$foo = 'bar'&lt;/xpath&gt;
&lt;to uri="when_uri"/&gt;
&lt;/when&gt;
&lt;when&gt;
&lt;xpath&gt;$$foo = 'cheese'&lt;/xpath&gt;
&lt;to uri="when2_uri"/&gt;
&lt;/when&gt;
&lt;otherwise&gt;
&lt;to uri="otherwise_uri"/&gt;
&lt;/otherwise&gt;
&lt;/choice&gt;
&lt;/route&gt;</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Delayer" enabled="true" name="camel_delayer">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;delay&gt;
&lt;constant&gt;delay_in_milliseconds&lt;/constant&gt;
&lt;/delay&gt;
&lt;to uri="to_uri"/&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Message Filter allows you to filter messages." enabled="true" name="camel_filter">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;filter&gt;
&lt;xpath&gt;/person[@name='${user}']&lt;/xpath&gt;
&lt;to uri="to_uri"/&gt;
&lt;/filter&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Load Balancer with a round robin strategy" enabled="true" name="camel_loadbalancer_roundrobin">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;loadBalance&gt;
&lt;roundRobin/&gt;
&lt;to uri="to_uri"/&gt;
&lt;to uri="2nd_to_uri"/&gt;
&lt;to uri="3rd_to_uri"/&gt;
&lt;/loadBalance&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Multicast" enabled="true" name="camel_multicast">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;multicast&gt;
&lt;to uri="to_uri"/&gt;
&lt;to uri="2nd_to_uri"/&gt;
&lt;to uri="3rd_to_uri"/&gt;
&lt;/multicast&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Pipeline whereby a message will be routed through a series of endpoints." enabled="true" name="camel_pipeline">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;to uri="to_uri"/&gt;
&lt;to uri="2nd_to_uri"/&gt;
&lt;to uri="3rd_to_uri"/&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Dynamic Recipient List" enabled="true" name="camel_recipientlist">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;recipientList&gt;
&lt;header&gt;foo&lt;/header&gt;
&lt;/recipientList&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Resequencer" enabled="true" name="camel_resequencer">&lt;route&gt;
&lt;from uri="from_uri" /&gt;
&lt;resequencer&gt;
&lt;simple&gt;body&lt;/simple&gt;
&lt;to uri="to_uri" /&gt;
&lt;/resequencer&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Routing Slip with the specified header containing the list of URIs." enabled="true" name="camel_routingslip">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;routingSlip headerName="slip_header_name" uriDelimiter="uri_delimiter"/&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Splitter" enabled="true" name="camel_splitter">&lt;route&gt;
&lt;from uri="from_uri"/&gt;
&lt;split&gt;
&lt;xpath&gt;//foo/bar&lt;/xpath&gt;
&lt;to uri="to_uri"/&gt;
&lt;/split&gt;
&lt;/route&gt;
</template><template autoinsert="true" context="xml_all" deleted="false" description="Creates a Throttler" enabled="true" name="camel_throttler">&lt;route&gt;
&lt;from uri="from_uri" /&gt;
&lt;throttle maximumRequestsPerPeriod="number_of_messages" timePeriodMillis="milliseconds"&gt;
&lt;to uri="to_uri" /&gt;
&lt;/throttle&gt;
&lt;/route&gt;
</template></templates>