Upload folder using huggingface_hub
Browse files- camel-camel-report-maven-plugin.md.md +1 -1
- camel-choice-eip.md.md +3 -3
- camel-dead-letter-channel.md.md +5 -5
- camel-java-xml-io-dsl.md.md +1 -1
- camel-java-xml-jaxb-dsl.md.md +1 -1
- camel-jms.md +4 -4
- camel-main.md.md +4 -4
- camel-mongodb.md +1 -1
- camel-sql.md +1 -1
- camel-xpath-language.md.md +1 -1
- camel-xquery-language.md.md +2 -2
- camel-xquery.md +1 -1
- camel-xslt-saxon.md +1 -1
- camel-xslt.md +1 -1
camel-camel-report-maven-plugin.md.md
CHANGED
|
@@ -503,7 +503,7 @@ comma.</p></td>
|
|
| 503 |
<td style="text-align: left;"><p>anonymousRoutes</p></td>
|
| 504 |
<td style="text-align: left;"><p>false</p></td>
|
| 505 |
<td style="text-align: left;"><p>Whether to allow anonymous routes
|
| 506 |
-
(routes without any route id assigned). By using route id’s then
|
| 507 |
safer to match the route cover data with the route source code.
|
| 508 |
Anonymous routes are less safe to use for route coverage as its harder
|
| 509 |
to know exactly which route that was tested corresponds to which of the
|
|
|
|
| 503 |
<td style="text-align: left;"><p>anonymousRoutes</p></td>
|
| 504 |
<td style="text-align: left;"><p>false</p></td>
|
| 505 |
<td style="text-align: left;"><p>Whether to allow anonymous routes
|
| 506 |
+
(routes without any route id assigned). By using route id’s then it is
|
| 507 |
safer to match the route cover data with the route source code.
|
| 508 |
Anonymous routes are less safe to use for route coverage as its harder
|
| 509 |
to know exactly which route that was tested corresponds to which of the
|
camel-choice-eip.md.md
CHANGED
|
@@ -171,9 +171,9 @@ based on [property
|
|
| 171 |
placeholders](#manual:ROOT:using-propertyplaceholder.adoc).
|
| 172 |
|
| 173 |
Here we select from the Switch the first predicate that matches. So if
|
| 174 |
-
there is a property placeholder with the key `foo` then
|
| 175 |
-
so on. Notice how we can use `{{?foo}}` to mark the property
|
| 176 |
-
as optional.
|
| 177 |
|
| 178 |
Java
|
| 179 |
from("direct:a")
|
|
|
|
| 171 |
placeholders](#manual:ROOT:using-propertyplaceholder.adoc).
|
| 172 |
|
| 173 |
Here we select from the Switch the first predicate that matches. So if
|
| 174 |
+
there is a property placeholder with the key `foo` then it is selected,
|
| 175 |
+
and so on. Notice how we can use `{{?foo}}` to mark the property
|
| 176 |
+
placeholder as optional.
|
| 177 |
|
| 178 |
Java
|
| 179 |
from("direct:a")
|
camel-dead-letter-channel.md.md
CHANGED
|
@@ -84,11 +84,11 @@ much more similar than currently.
|
|
| 84 |
## Redelivery
|
| 85 |
|
| 86 |
It is common for a temporary outage or database deadlock to cause a
|
| 87 |
-
message to fail to process; but the chances are if
|
| 88 |
-
times with some time delay then it will complete fine. So we
|
| 89 |
-
wish to use some kind of redelivery policy to decide how many
|
| 90 |
-
try to redeliver a message and how long to wait before
|
| 91 |
-
attempts.
|
| 92 |
|
| 93 |
The
|
| 94 |
[RedeliveryPolicy](https://www.javadoc.io/doc/org.apache.camel/camel-base/current/org/apache/camel/processor/errorhandler/RedeliveryPolicy.html)
|
|
|
|
| 84 |
## Redelivery
|
| 85 |
|
| 86 |
It is common for a temporary outage or database deadlock to cause a
|
| 87 |
+
message to fail to process; but the chances are if it is tried a few
|
| 88 |
+
more times with some time delay then it will complete fine. So we
|
| 89 |
+
typically wish to use some kind of redelivery policy to decide how many
|
| 90 |
+
times to try to redeliver a message and how long to wait before
|
| 91 |
+
redelivery attempts.
|
| 92 |
|
| 93 |
The
|
| 94 |
[RedeliveryPolicy](https://www.javadoc.io/doc/org.apache.camel/camel-base/current/org/apache/camel/processor/errorhandler/RedeliveryPolicy.html)
|
camel-java-xml-io-dsl.md.md
CHANGED
|
@@ -11,7 +11,7 @@ the `xml-io-dsl` is a source code generated parser that is Camel
|
|
| 11 |
specific and can only parse Camel `.xml` route files (not classic Spring
|
| 12 |
`<beans>` XML files).
|
| 13 |
|
| 14 |
-
If you are using Camel XML DSL then
|
| 15 |
instead of `xml-jaxb-dsl`. You can use this in all of Camel’s runtime
|
| 16 |
such as Spring Boot, Quarkus, Camel Main, and Camel K etc.
|
| 17 |
|
|
|
|
| 11 |
specific and can only parse Camel `.xml` route files (not classic Spring
|
| 12 |
`<beans>` XML files).
|
| 13 |
|
| 14 |
+
If you are using Camel XML DSL then it is recommended using `xml-io-dsl`
|
| 15 |
instead of `xml-jaxb-dsl`. You can use this in all of Camel’s runtime
|
| 16 |
such as Spring Boot, Quarkus, Camel Main, and Camel K etc.
|
| 17 |
|
camel-java-xml-jaxb-dsl.md.md
CHANGED
|
@@ -10,7 +10,7 @@ the `xml-io-dsl` is a source code generated parser that is Camel
|
|
| 10 |
specific and can only parse Camel `.xml` route files (not classic Spring
|
| 11 |
`<beans>` XML files).
|
| 12 |
|
| 13 |
-
If you are using Camel XML DSL then
|
| 14 |
instead of `xml-jaxb-dsl`. You can use this in all of Camel’s runtime
|
| 15 |
such as Spring Boot, Quarkus, Camel Main, and Camel K etc.
|
| 16 |
|
|
|
|
| 10 |
specific and can only parse Camel `.xml` route files (not classic Spring
|
| 11 |
`<beans>` XML files).
|
| 12 |
|
| 13 |
+
If you are using Camel XML DSL then it is recommended using `xml-io-dsl`
|
| 14 |
instead of `xml-jaxb-dsl`. You can use this in all of Camel’s runtime
|
| 15 |
such as Spring Boot, Quarkus, Camel Main, and Camel K etc.
|
| 16 |
|
camel-jms.md
CHANGED
|
@@ -1198,13 +1198,13 @@ processing in Camel, and we wait for a return reply:
|
|
| 1198 |
# Sending an InOnly message and keeping the JMSReplyTo header
|
| 1199 |
|
| 1200 |
When sending to a [JMS](#jms-component.adoc) destination using
|
| 1201 |
-
**camel-jms**, the producer will use the MEP to detect if
|
| 1202 |
-
or
|
| 1203 |
-
an
|
| 1204 |
have to instruct Camel to keep it, otherwise the `JMSReplyTo` header
|
| 1205 |
will be dropped.
|
| 1206 |
|
| 1207 |
-
For example, to send an
|
| 1208 |
`JMSReplyTo` with bar queue you can do as follows:
|
| 1209 |
|
| 1210 |
template.send("activemq:queue:foo?preserveMessageQos=true", new Processor() {
|
|
|
|
| 1198 |
# Sending an InOnly message and keeping the JMSReplyTo header
|
| 1199 |
|
| 1200 |
When sending to a [JMS](#jms-component.adoc) destination using
|
| 1201 |
+
**camel-jms**, the producer will use the MEP to detect if it is `InOnly`
|
| 1202 |
+
or `InOut` messaging. However, there can be times when you want to send
|
| 1203 |
+
an `InOnly` message but keeping the `JMSReplyTo` header. To do so, you
|
| 1204 |
have to instruct Camel to keep it, otherwise the `JMSReplyTo` header
|
| 1205 |
will be dropped.
|
| 1206 |
|
| 1207 |
+
For example, to send an `InOnly` message to the foo queue, but with a
|
| 1208 |
`JMSReplyTo` with bar queue you can do as follows:
|
| 1209 |
|
| 1210 |
template.send("activemq:queue:foo?preserveMessageQos=true", new Processor() {
|
camel-main.md.md
CHANGED
|
@@ -1353,11 +1353,11 @@ attempts.</p></td>
|
|
| 1353 |
<td
|
| 1354 |
style="text-align: left;"><p><strong>camel.routecontroller.enabled</strong></p></td>
|
| 1355 |
<td style="text-align: left;"><p>To enable using supervising route
|
| 1356 |
-
controller which allows Camel to
|
| 1357 |
care of starting the routes in a safe manner. This can be used when you
|
| 1358 |
-
want to
|
| 1359 |
-
startup and cause Camel to fail to
|
| 1360 |
-
route startup to the supervising route controller then
|
| 1361 |
startup using a background thread. The controller allows to be
|
| 1362 |
configured with various settings to attempt to restart failing
|
| 1363 |
routes.</p></td>
|
|
|
|
| 1353 |
<td
|
| 1354 |
style="text-align: left;"><p><strong>camel.routecontroller.enabled</strong></p></td>
|
| 1355 |
<td style="text-align: left;"><p>To enable using supervising route
|
| 1356 |
+
controller which allows Camel to start up and then, the controller takes
|
| 1357 |
care of starting the routes in a safe manner. This can be used when you
|
| 1358 |
+
want to start up Camel despite a route may otherwise fail fast during
|
| 1359 |
+
startup and cause Camel to fail to start up as well. By delegating the
|
| 1360 |
+
route startup to the supervising route controller, then it manages the
|
| 1361 |
startup using a background thread. The controller allows to be
|
| 1362 |
configured with various settings to attempt to restart failing
|
| 1363 |
routes.</p></td>
|
camel-mongodb.md
CHANGED
|
@@ -101,7 +101,7 @@ can be anything that has an equivalent to a `Bson` type. See
|
|
| 101 |
.to("mongodb:myDb?database=flights&collection=tickets&operation=findById")
|
| 102 |
.to("mock:resultFindById");
|
| 103 |
|
| 104 |
-
Please
|
| 105 |
type, so you may need to convert it properly.
|
| 106 |
|
| 107 |
from("direct:findById")
|
|
|
|
| 101 |
.to("mongodb:myDb?database=flights&collection=tickets&operation=findById")
|
| 102 |
.to("mock:resultFindById");
|
| 103 |
|
| 104 |
+
Please note that the default \_id is treated by Mongo as and `ObjectId`
|
| 105 |
type, so you may need to convert it properly.
|
| 106 |
|
| 107 |
from("direct:findById")
|
camel-sql.md
CHANGED
|
@@ -49,7 +49,7 @@ precedence:
|
|
| 49 |
|
| 50 |
1. from a [Simple](#languages:simple-language.adoc) expressions
|
| 51 |
|
| 52 |
-
2. from message body if
|
| 53 |
|
| 54 |
3. from message headers
|
| 55 |
|
|
|
|
| 49 |
|
| 50 |
1. from a [Simple](#languages:simple-language.adoc) expressions
|
| 51 |
|
| 52 |
+
2. from message body if it is a `java.util.Map`
|
| 53 |
|
| 54 |
3. from message headers
|
| 55 |
|
camel-xpath-language.md.md
CHANGED
|
@@ -313,7 +313,7 @@ The namespace builder supports adding multiple namespaces as shown:
|
|
| 313 |
.add("w", "http://acme.com/wine")
|
| 314 |
.add("b", "http://acme.com/beer");
|
| 315 |
|
| 316 |
-
When using namespaces in XML DSL then
|
| 317 |
namespaces in the XML root tag (or one of the `camelContext`, `routes`,
|
| 318 |
`route` tags).
|
| 319 |
|
|
|
|
| 313 |
.add("w", "http://acme.com/wine")
|
| 314 |
.add("b", "http://acme.com/beer");
|
| 315 |
|
| 316 |
+
When using namespaces in XML DSL then it is different, as you set up the
|
| 317 |
namespaces in the XML root tag (or one of the `camelContext`, `routes`,
|
| 318 |
`route` tags).
|
| 319 |
|
camel-xquery-language.md.md
CHANGED
|
@@ -70,7 +70,7 @@ access the value of <code>exchange.out.headers</code> with key
|
|
| 70 |
and <code>exchange.in.headers</code> and any additional parameters set
|
| 71 |
using <code>setParameters(Map)</code>. These parameters are added with
|
| 72 |
their own key name, for instance, if there is an IN header with the key
|
| 73 |
-
name <strong>foo</strong> then
|
| 74 |
<strong>foo</strong>.</p></td>
|
| 75 |
</tr>
|
| 76 |
</tbody>
|
|
@@ -127,7 +127,7 @@ The namespace builder supports adding multiple namespaces as shown:
|
|
| 127 |
.add("w", "http://acme.com/wine")
|
| 128 |
.add("b", "http://acme.com/beer");
|
| 129 |
|
| 130 |
-
When using namespaces in XML DSL then
|
| 131 |
namespaces in the XML root tag (or one of the `camelContext`, `routes`,
|
| 132 |
`route` tags).
|
| 133 |
|
|
|
|
| 70 |
and <code>exchange.in.headers</code> and any additional parameters set
|
| 71 |
using <code>setParameters(Map)</code>. These parameters are added with
|
| 72 |
their own key name, for instance, if there is an IN header with the key
|
| 73 |
+
name <strong>foo</strong> then it is added as
|
| 74 |
<strong>foo</strong>.</p></td>
|
| 75 |
</tr>
|
| 76 |
</tbody>
|
|
|
|
| 127 |
.add("w", "http://acme.com/wine")
|
| 128 |
.add("b", "http://acme.com/beer");
|
| 129 |
|
| 130 |
+
When using namespaces in XML DSL then it is different, as you set up the
|
| 131 |
namespaces in the XML root tag (or one of the `camelContext`, `routes`,
|
| 132 |
`route` tags).
|
| 133 |
|
camel-xquery.md
CHANGED
|
@@ -77,7 +77,7 @@ which name is out.headers.foo variable</p></td>
|
|
| 77 |
exchange.in.headers and any additional parameters set using
|
| 78 |
<code>setParameters(Map)</code>. These parameters are added with their
|
| 79 |
own key name, for instance, if there is an IN header with the key name
|
| 80 |
-
<strong>foo</strong> then
|
| 81 |
</tr>
|
| 82 |
</tbody>
|
| 83 |
</table>
|
|
|
|
| 77 |
exchange.in.headers and any additional parameters set using
|
| 78 |
<code>setParameters(Map)</code>. These parameters are added with their
|
| 79 |
own key name, for instance, if there is an IN header with the key name
|
| 80 |
+
<strong>foo</strong> then it is added as <strong>foo</strong>.</p></td>
|
| 81 |
</tr>
|
| 82 |
</tbody>
|
| 83 |
</table>
|
camel-xslt-saxon.md
CHANGED
|
@@ -203,7 +203,7 @@ such as
|
|
| 203 |
`"xslt-saxon:dummy.xsl?contentCache=false&allowTemplateFromHeader=true"`
|
| 204 |
as this will tell Camel to not load `dummy.xsl` on startup but to load
|
| 205 |
the stylesheet on demand. And because you provide the stylesheet via
|
| 206 |
-
headers, then
|
| 207 |
|
| 208 |
# Accessing warnings, errors and fatalErrors from XSLT ErrorListener
|
| 209 |
|
|
|
|
| 203 |
`"xslt-saxon:dummy.xsl?contentCache=false&allowTemplateFromHeader=true"`
|
| 204 |
as this will tell Camel to not load `dummy.xsl` on startup but to load
|
| 205 |
the stylesheet on demand. And because you provide the stylesheet via
|
| 206 |
+
headers, then it is fully dynamic.
|
| 207 |
|
| 208 |
# Accessing warnings, errors and fatalErrors from XSLT ErrorListener
|
| 209 |
|
camel-xslt.md
CHANGED
|
@@ -172,7 +172,7 @@ such as
|
|
| 172 |
`"xslt:dummy.xsl?contentCache=false&allowTemplateFromHeader=true"` as
|
| 173 |
this will tell Camel to not load `dummy.xsl` on startup but to load the
|
| 174 |
stylesheet on demand. And because you provide the stylesheet via
|
| 175 |
-
headers, then
|
| 176 |
|
| 177 |
# Accessing warnings, errors and fatalErrors from XSLT ErrorListener
|
| 178 |
|
|
|
|
| 172 |
`"xslt:dummy.xsl?contentCache=false&allowTemplateFromHeader=true"` as
|
| 173 |
this will tell Camel to not load `dummy.xsl` on startup but to load the
|
| 174 |
stylesheet on demand. And because you provide the stylesheet via
|
| 175 |
+
headers, then it is fully dynamic.
|
| 176 |
|
| 177 |
# Accessing warnings, errors and fatalErrors from XSLT ErrorListener
|
| 178 |
|