summaryrefslogtreecommitdiffstats
path: root/Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_xml_templates.xml
blob: 2190faa6627d99cc6bd36e63793f393942f5f392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?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;aggregator&gt;
    &lt;header&gt;cheese&lt;/header&gt;
    &lt;to uri="to_uri"/&gt;
  &lt;/aggregator&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;delayer&gt;
    &lt;expression/&gt;
    &lt;delay&gt;delay_in_milliseconds&lt;/delay&gt;
    &lt;to uri="to_uri"/&gt;
  &lt;/delayer&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;splitter&gt;
    &lt;xpath&gt;//foo/bar&lt;/xpath&gt;
    &lt;to uri="to_uri"/&gt;
  &lt;/splitter&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;throttler maximumRequestsPerPeriod="number_of_messages" timePeriodMillis="milliseconds"&gt;
    &lt;to uri="to_uri" /&gt;
  &lt;/throttler&gt;
&lt;/route&gt;
</template></templates>