summaryrefslogtreecommitdiffstats
path: root/Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_java_templates.xml
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_java_templates.xml
downloadStudium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz
Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_java_templates.xml')
-rw-r--r--Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_java_templates.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_java_templates.xml b/Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_java_templates.xml
new file mode 100644
index 0000000..44700a1
--- /dev/null
+++ b/Master/Daten- und Systemintegration/Assignment Minipaper/Material/camel_java_templates.xml
@@ -0,0 +1,32 @@
+<?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="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)});
+</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(header("foo").isEqualTo("bar")).to(${when_uri:var(String)})
+.when(header("foo").isEqualTo("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)}).
+ 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><template 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>