I believe that:
- (Sub) routes are around 40% of the solution (Cause put logic in a
separate route and call it from one or more other routes)
- RouteTemplate are around 60% of the solution (Adding parameters and
defaults that can be started multiple times)
- Kameletes are around 80% of the solutio
I also seem to recall that routeTemplates haven't all functionality from
Kamelets, and you can't call all routeTemplates exactly the same from the
Kamelet component, but maybe this is not a limitation anymore.
btw In my own runtime (Assimbly) I do load all Kamelets by default, so they
are straight
Yeah, calling a Kamelet has the advantage that the subroute is dynamically
created.
- Still need the to, not a separate EIP.
- Beginners would not search for "Kamelet", but function would be more
common
- You still need a from statement within the Kamelet
- Kamelet is not really part of the route,
It really seems the Kamelets' mission
Il lun 8 gen 2024, 15:59 Pasquale Congiusti
ha scritto:
> Hi Raymond,
> Can't be a Kamelet considered for such a feature? I think it's one of its
> purposes as well.
>
> Pasquale.
>
> On Mon, Jan 8, 2024 at 3:21 PM ski n wrote:
>
> > Question/Discussion:
>
Hi Raymond,
Can't be a Kamelet considered for such a feature? I think it's one of its
purposes as well.
Pasquale.
On Mon, Jan 8, 2024 at 3:21 PM ski n wrote:
> Question/Discussion:
>
> Do you think "functions" in the Camel DSL make sense?
>
> Explanation:
>
> Say you have to following route:
>
Question/Discussion:
Do you think "functions" in the Camel DSL make sense?
Explanation:
Say you have to following route:
from("direct:a")
.setHeader("myHeader", constant("test"))
.to("direct:b");
And then you have a similar route:
from("direct:c")
.setHeader("myHeader2", constant(
> pom.xml:
>> >
>> >
>> >org.apache.camel
>> >camel-saxon
>> >
>> >
>> > The examples in the Apache Camel: Xpath page show the use of Java code
>> to
>> > use Saxon. It is
e examples in the Apache Camel: Xpath page show the use of Java code to
> > use Saxon. It is possible to use Saxon in Spring XML versus Java methods?
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/How-do-I-use-xpath-functions-in-
in Spring XML versus Java methods?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-do-I-use-xpath-functions-in-Camel-tp5056913p5059406.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
F
use of Java code to
use Saxon. It is possible to use Saxon in Spring XML versus Java methods?
--
View this message in context:
http://camel.465427.n5.nabble.com/How-do-I-use-xpath-functions-in-Camel-tp5056913p5059406.html
Sent from the Camel - Users mailing list archive at Nabble.com.
>>> org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath:
>>> string(315). Reason: javax.xml.xpath.XPathExpressionException
>>>
>>> How do I write this xpath expression in Camel?
>>>
>>> Any help is greatly appreciated.
>>
string(315)
>> >
>> >
>> >
>> >
>> >
>> > Error:
>> > -
>> > org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath:
>> > string(315). Reason: javax.xml.xpath.
xpath expression in Camel?
> >
> > Any help is greatly appreciated.
> >
> > Thanks!
> >
> > --
> > View this message in context:
> > http://camel.465427.n5.nabble.com/How-do-I-use-xpath-functions-in-Camel-tp5056913p5056913.html
> > S
write this xpath expression in Camel?
>
> Any help is greatly appreciated.
>
> Thanks!
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-do-I-use-xpath-functions-in-Camel-tp5056913p5056913.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
iew this message in context:
http://camel.465427.n5.nabble.com/How-do-I-use-xpath-functions-in-Camel-tp5056913p5056913.html
Sent from the Camel - Users mailing list archive at Nabble.com.
15 matches
Mail list logo