In Camel 4 (4.5.0) I like to get events for each step (like StepStarted and
StepCompleted). I expected that wherever I use a step that these events are
triggered. Currently when I use this:
This works and I get an event for every step. However when I use
I was running into this issue well, while upgrading to Camel 4 when using
the Jetty component. I had a bunch of tests using a self-signed certificate
with localhost. This is not allowed anymore for SNI.
In Jetty12 there are several ways to turn it off. For example, in Spring
Boot config
I try to understand backpressure on Camel routes better. For this purpose,
I set up a load test. This test contains 5 routes that are connected
through direct or seda endpoints. At the end of all routes, I put a delay
or throttle. The routes are getting more messages than the throttle/delay
can
Maybe check the following Jira issue I created and post your use case and
concerns there:
https://issues.apache.org/jira/browse/CAMEL-20355
Raymond
On Fri, Feb 2, 2024 at 11:29 AM Jono Morris wrote:
>
> The Throttler previously employed a fixed windows algorithm, allowing a
> fixed number of
Hi,
I need to send form data (binary files). With Curl you can do this as
follows:
curl https://reqbin.com/echo/post/form
-F key1=value1
-F key2=value2
-F photo=@photo.png
or
curl https://reqbin.com/echo/post/form
--form key1=value1
--form key2=value2
--form photo=@photo.png
Yes, dividing it into chunks is a good practice. This adheres to
message-based systems in general, not specific to Camel.
Let's discuss both ways of processing messages:
1. One big message
Say the message is 100 GB+ and this is processed by some integration
software on a server, you need to
% of the solution (Calling it directly from a
route by name and route and routeid are automatically started)
The suggestion I did was to get to 100% and make it a real "pattern" with
for newbies logical names and part of the core.
Raymond
On Mon, Jan 8, 2024 at 4:43 PM ski n wrote:
> I also s
they
are straight to use.
Raymond
On Mon, Jan 8, 2024 at 4:24 PM ski n wrote:
> 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
&g
eally 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
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",
Since Camel 4.3.0 released 18th December, the framework has primarily
support for virtual threads:
https://camel.apache.org/manual/threading-model.html#_virtual_threads
In the documentation, it's already said that this doesn't work in all
cases. Previously, it was also mentioned by Claus that it
it to, for example Elastic, but there maybe
easier ways to get size stats.
Raymond
On Mon, Nov 20, 2023 at 11:23 PM ski n wrote:
> Yes, I was suspecting something like that, but the Javadoc only says:
>
> "Timestamp for each event, when the event occurred. By default, the
> timestam
Yes, I was suspecting something like that, but the Javadoc only says:
"Timestamp for each event, when the event occurred. By default, the
timestamp is not included and this method returns 0."
It does not say how and where it can be turned on. I first checked the
EventNotifierSupport class, but
In Camel 3.20.8 I use the event notifier (as described here
https://dzone.com/articles/event-notifier-apache-camel).
One of the things I try to get timestamps. These timestamps are available
on several levels:
1. Event level
2. Exchange level
3. Message level
When I used the following the get
Or take a look at the wire tap pattern:
https://camel.apache.org/components/4.0.x/eips/wireTap-eip.html
Raymond
On Sun, Nov 19, 2023 at 2:05 PM Claus Ibsen wrote:
> Hi
>
> You can also look at using onCompletion
> https://camel.apache.org/manual/oncompletion.html
>
> On Sat, Nov 18, 2023 at
man description and
> has no logic
> 2 no
> 3 no
>
> This is not a desired feature and to APIs and controllers to manage
> lifecycle of routes is already complex and vast and need to deal with many
> things.
>
>
>
> On Fri, Nov 17, 2023 at 10:58 AM ski n wrote:
>
> &g
request?
Raymond
On Fri, Nov 17, 2023 at 9:07 AM Claus Ibsen wrote:
> 1 2 3 yes
> 4 no
>
>
>
> On Fri, Nov 17, 2023 at 8:26 AM ski n wrote:
>
> > Recently, a “route group“ was added:
> >
> > https://issues.apache.org/jira/browse/CAMEL-11669
> >
Recently, a “route group“ was added:
https://issues.apache.org/jira/browse/CAMEL-11669
The ticket mentioned that the route group is a “logical group” that one or
more routes are attached to. Some questions about this new feature:
1. Is the syntax still the same as in the ticket?
2. Is this
Great!
Is this the first version that fully supports Java 21?
Raymond
On Tue, Nov 14, 2023 at 8:54 PM Gregor Zurowski
wrote:
> The Camel PMC is pleased to announce the release of Apache Camel 4.2.0.
>
> Apache Camel is an open source integration framework that empowers you
> to quickly and
it.
Raymond
On Tue, Nov 14, 2023 at 8:12 PM ski n wrote:
>
> I need to check if a message has an attachment.
>
> In Camel2 I used the following expression:
>
> ${exchange.getIn().hasAttachments}
>
> As attachment was modularized in Camel 3, the hasAttachments method is
I need to check if a message has an attachment.
In Camel2 I used the following expression:
${exchange.getIn().hasAttachments}
As attachment was modularized in Camel 3, the hasAttachments method isn't
directly available on the exchange anymore (it now extends Message).
Based on the
the route in those applications cannot
interact with each other directly.
Raymond
On Tue, Nov 7, 2023 at 7:58 PM Arthur Naseef wrote:
> Can you explain "there is only one CamelContext"? How is that
> ensured/enforced?
>
> Art
>
> On 2023/11/07 18:33:02 s
I think the direct-vm was created in Camel 2 when you could have multiple
CamelContexts (for example in Karaf). When you would run multiple
CamelContexts and you want call another route then you needed direct-vm.
Since Camel 3 there is only one CamelContext, thus in most cases you can
use "direct"
Sure, issue is created:
https://issues.apache.org/jira/browse/CAMEL-20080
Raymond
On Sat, Nov 4, 2023 at 10:17 AM Andrea Cosentino wrote:
> Il ven 3 nov 2023, 09:33 ski n ha scritto:
>
> > Sorry, I forgot to mention. This was tested with Camel 3.20.7 (JDK 11).
> >
to be investigated further.
>
> Kind regards
>
>
>
>
> On Fri, Nov 3, 2023 at 9:33 AM ski n wrote:
>
> > Sorry, I forgot to mention. This was tested with Camel 3.20.7 (JDK 11).
> >
> > btw: I'm also in the progress to upgrade to 4, but that has some
> cave
Ibsen wrote:
> Hi
>
> Which Camel version, and have you tried with latest releases.
>
> On Thu, Nov 2, 2023 at 9:00 PM ski n wrote:
>
> > I have a route where I want to unzip zipfile (containing 1 or more
> files).
> > This is the route:
> >
> > ZipF
I have a route where I want to unzip zipfile (containing 1 or more files).
This is the route:
ZipFileDataFormat zipFile = new ZipFileDataFormat();
zipFile.setUsingIterator(true);
from("file:src/test/resources/org/apache/camel/dataformat/zipfile/?delay=1000=true")
.unmarshal(zipFile)
Camel provides various HTTP clients like:
1. http (https://camel.apache.org/components/4.0.x/http-component.html)
2. netty http (
https://camel.apache.org/components/4.0.x/netty-http-component.html)
3. vert.x http (
https://camel.apache.org/components/4.0.x/vertx-http-component.html)
4. rest
; Where you can remove via the model (def class). So you need to remove that
> way.
>
>
>
> On Tue, Oct 3, 2023 at 9:34 PM ski n wrote:
>
> > I have a route and a routeConfiguration. I want to remove both from the
> > CamelContext.
> >
> > I tried it like
Not being the typical Camel user, I see that as a compliment :)
For the blog it may be also good to highlight not just how to upgrade
(migration path), but also why to upgrade.
There are technical reason like being up to date with Jakarta
EE/Spring/Quarkus, but I think most users are even more
Sure happy to give feedback. I plan to upgrade from 3.20.x to 4.x.
Currently, thus not migrating yet, but planning has started.
The things I need to consider:
- I first need to finish some stuff to upgrade from 2.x to 3.x (Currently
the docs for 2.0 are gone, is the archive to Camel 2.0
I have a route and a routeConfiguration. I want to remove both from the
CamelContext.
I tried it like this:
String routeId = route.getId();
String routeConfigurationId = route.getConfigurationId();
//remove route
routeController.stopRoute(routeId, 30, TimeUnit.SECONDS);
The starting doc is the following:
https://camel.apache.org/manual/threading-model.html
If you still some questions or missing some stuff you can ask them here of
course.
Raymond
On Sun, Sep 3, 2023 at 8:42 PM Alex O'Ree wrote:
> Under the hood, does camel allocate thread pools specific to
ol, question is how much
> > synchronization is camel using under the hood.
> >
> > On Fri, 1 Sept 2023, 10:34 ski n, wrote:
> >
> >> OK, thanks. It will take some (couple of years) before most libraries
> are
> >> catching up.
> >>
libraries and many
> other frameworks starting to adopt them as well, which means Java 21 as
> minimum base version.
> Support for Java 21 is to run on JDK21. JDK17 will be primary supported,
> and 21 secondary, that is the plan for this year.
>
>
> On Fri, Sep 1
In integration there is a lot of Async I/O (calling disk, databases, api's
and other external systems). Though Camel is very fast, it's mostly these
async I/O calls that take time and eat a lot of platform threads.
For example:
from("direct:start")
.log("some log") //this takes less than 1 ms
gt;
> On Tue, Aug 1, 2023 at 8:49 AM ski n wrote:
>
> > Currently, I use the EventNotifier to collect events in Camel:
> >
> >
> >
> https://www.javadoc.io/doc/org.apache.camel/camel-api/3.21.0/org/apache/camel/spi/CamelEvent.html
> >
> >
Currently, I use the EventNotifier to collect events in Camel:
https://www.javadoc.io/doc/org.apache.camel/camel-api/3.21.0/org/apache/camel/spi/CamelEvent.html
I have integrations that consist of 1 or more routes like this:
To route between two routes I use either:
- direct-vm
OK, good to know as I use this functionality also heavily. Some
questions/remarks about this:
1. What's the reason that it was (re)moved? Is there a new concept behind
the PluginHelper?
2. Maybe good to add this to the migration guide (
base-package=""/>
>
>
>
> The route information is stored in database and using JPA we are extracting
> and configuring it.
>
> We are really stuck on this though it works very well with Camel 2.x
>
> Thanks & Regards,
> Sujeet
>
&
Hi Sujeet,
Can you add the complete route, so it's clear where you are using it?
Regards,
Raymond
On Mon, Jun 5, 2023 at 3:50 PM Sujeet Singh
wrote:
> Hi,
>
> I am trying to migrate from Camel 2.x to
> Camel 3.2.0. I have followed all the
> guidelines but getting the below error
> during
I don't have xml/yaml dsl, but maybe this helps with setting up de
connection to an IBMMQ Broker
https://github.com/assimbly/runtime/blob/develop/dil/src/main/java/org/assimbly/dil/blocks/connections/broker/IBMMQConnection.java
Raymond
On Tue, May 23, 2023 at 8:43 PM Claus Ibsen wrote:
> Hi
>
Great progress has been made since the first public release.
Big congrats to the Kaoto team, and I would recommend Camel users to try
1.0 out.
Raymond
On Fri, Apr 14, 2023 at 11:37 AM María Arias de Reyna
wrote:
> 拾 拾 Kaoto version 1.0.0 released!
>
> This marks the first major release for
he same
> broker group.
>
> That's why I need to set this time to live using headers only for some
> messages sent to some queues...
>
> Thanks.
>
> Le lun. 3 avr. 2023 à 13:08, ski n a écrit :
> >
> > Can you set the parameter globally li
ng a header, since I can't modify the endpoint URI ?
>
> Thanks again.
>
> Regards.
>
> Le lun. 3 avr. 2023 à 09:43, ski n a écrit :
> >
> > I should be possible as Camel Headers are translated to JMS Headers when
> > sending to an ActiveMQ queue or topic. Th
I should be possible as Camel Headers are translated to JMS Headers when
sending to an ActiveMQ queue or topic. This can be tricky though as
sometimes JMS Headers are not set by the client but by the broker (for
example JMSTimestamp), so you can't use all headers.
You can check this page with the
Hi Prassad,
Welcome to Camel community. Let's help you on your way with asking
questions on the user list:
For new question:
1. Write a new email to users@camel.apache.org
2. Give the subject a clear summary of the question.
3. In the mail
a. tell about the version of Camel or CamelK
Hi Michael,
You may want to check out our repository:
https://github.com/assimbly/custom-components
They contain some edifact related Camel components based on smooks.
There are some examples in the config folder of the integration tests:
https://github.com/assimbly/runtime-integration-tests
>
> levels for each statistics. So you have how many messages are processed by
> routes.
> You can associate a route to a route. And you can see the route in the
> statistics, so your monitoring systems can aggregate data together.
>
> However I think it would also be nice if Camel ca
Hi Cameleers,
I'm wondering what the best way is to manage and monitor a group of routes
as an integration ('a unit of work')?
Through the mailing list, I try to gather some ideas on this topic.
Background: Integration vs Routes
Say I have three routes that together form my integration:
Currently, there are around 26 components planned that will be removed from
Camel 4.0:
https://camel.apache.org/manual/camel-4-migration-guide.html
Maybe something to consider:
1. Deprecate those components already in 3.21.x
2. If the component has been renamed or has an alternative (say
Maybe it's a good aidea to add a graph/explanation about the Exchange
lifecycle to:
https://camel.apache.org/manual/lifecycle.html
and/or
https://camel.apache.org/manual/exchange.html
On Mon, Jan 30, 2023 at 3:56 PM Claus Ibsen wrote:
> It has always been like that, when an exchange is
I have a question about event notifiers.
Currently, I collect events using EventNotifierSupport
https://javadoc.io/doc/org.apache.camel/camel-support/latest/org/apache/camel/support/EventNotifierSupport.html
There I get a "CamelEvent" as listed in this class.
Sometimes it's also good to question why the project is dead. I also worked
for big retail companies, as well as government organizations, and saw
fixed length formats on various occasions. The truth is that these formats
are outdated and get less and less support, thus fewer libraries and tools.
a group? Or has it other uses? Is there an
example?
Raymond
On Tue, Dec 13, 2022 at 6:10 PM ski n wrote:
> Yes, I know. But I don't want to implement this in every
> route/routeTemplate, so that's why I thought I use the API for it (inject
> metadata properties on the start of a route for exampl
to the CamelContext and I was worried it
would take too much resources, but it seems working fine.
Raymond
On Tue, Dec 13, 2022 at 5:22 PM Claus Ibsen wrote:
> There are route properties / route groups you can set via the DSL.
>
>
>
> On Tue, Dec 13, 2022 at 4:24 PM ski n wrot
I have a use case where I like to add properties as metadata to a
route/routetemplate. Properties like:
- The group a route belongs to
- The author of the route
- The version of the route
- The environment it runs
- etc.
I know Kamelet have a construct for metadata, but is there also construct
In addition to Simo I also encountered sometimes FileNotFoundException and
other I think disk related issues like:
org.apache.camel.RuntimeCamelException: Cannot reset stream from file
tmp/camelcontext-ID_5ffdbadf852c8f0010034cb9/cos4845255624781072102.tmp
What maybe also is possible is to set
I agree with Romain that processor is good thing to look at.
Here are some resources that maybe useful:
https://stackoverflow.com/questions/20578756/apache-camel-processor-purpose
https://camel.apache.org/manual/processor.html
https://www.youtube.com/watch?v=s_6ip_9Yz5M
g is where using code might apply, to create
>the subscription message and then send it, for example, by a producer
>template.
>
> Please let me know if this helps. I am always open to expanding its
> usefulness, or simplifying its use. So, if you have any suggestions, I
> w
For those interested. Here are some more resources:
Background:
https://camel.apache.org/blog/2022/01/dynamic-router-eip-component/
Documentation:
https://camel.apache.org/components/3.18.x/dynamic-router-component.html
---
For me, reading through the documentation, it seems
@Otavia I run the test and this also happens on Camel 3.19.0 (JDK11). The
result:
Caused by: java.nio.charset.UnmappableCharacterException: Input length = 1
I am not expert on charsets, but when a character is not available /
unmappable I would expect that it is replaced by for example a '?'.
Hi Michael,
Interesting case. As far as I know, you cannot change the order of the
components to load while scanning.
It's maybe possible to load the routetemplate definitions before Spring
starts:
1. Move the routetemplate definitions (for example the RouteTemplate.java
file) to a separate
No problem, such thing happen
If possible, you may try to simplify the Camel route. Something like this
(pseudocode):
from("seda://notification-pool?concurrentConsumers=500")
.setHeader(Exchange.CONTENT_TYPE).constant("application/json")
.setProperty("WEBHOOK_URL", getWebhookUrl(exchange))
Hi Jitesh,
You can separate the polling of the two FTP into two separate routes:
//normal route
from("ftp://[username@]hostname[:port]/output;)
//code for normal output
.to("direct:process_extracted_file");
//error route
from("ftp://[username@]hostname[:port]/error;)
//code for error output
Hi Tom,
I can't comment on the CXF/MTOM part, but I can say a bit about removing
headers. You note that:
" I think the problem could have been in because all the previous headers are gone and
instead of them are different. But I haven't found a way how to remove only
one of them and without it
In general, I wouldn't bother too much about the Camel Context, Exchanges
and producer tasks. Sound the best way to do this is by just chaining
various Camel routes and use direct or seda endpoints between them.
Raymond
On Wed, Oct 12, 2022 at 10:31 AM Stefan Kok
wrote:
> Hi All
>
>
gt; was last modified told the router to update itself. Each line of the
> properties file is your next route e.g.
>
> bar=direct:b
> cheese=direct:c
> otherwise=direct:d
>
> Nick
>
> -Original Message-
> From: ski n
> Sent: 10 October 2022 20:08
&
Consider the following route:
from("direct:a")
.choice()
.when(simple("${header.foo} == 'bar'"))
.to("direct:b")
.when(simple("${header.foo} == 'cheese'"))
.to("direct:c")
.otherwise()
.to("direct:d");
I like to use such choice in a
the setOut method but the setMessage as
> setOut has been deprecated. It is my understanding that we should use
> setMessage instead of setOut.
>
> Stefan
>
> On Mon, 2022-10-10 at 12:43 +0200, ski n wrote:
> > To enhance the answer of Claus:
> >
> > An exchange in
To enhance the answer of Claus:
An exchange in Camel has two types:
1) InOnly
2) InOut
See: https://camel.apache.org/manual/exchange-pattern.html
With the first type of exchange, "InOnly", the exchange is an event message
(also called 'fire and forget' or 'one-way)'. You will never see the
= clazz.getDeclaredConstructor().newInstance();
registry.bind(beanId, bean);
} catch (Exception e) {
//Ignore if class not found
}
}
Raymond
On Sat, Oct 1, 2022 at 3:53 PM ski n wrote:
> I use Camel standalone.
>
> I first thought that I maybe could set the bean with a string
custom
> code.
>
> If you talk about plain standalone camel then its a bit more work to do,
> but we do this with some classpath scanning such as what we can do when you
> have camel-debug JAR on classpath or not. You could have your own service
> factory class you active on sta
I can register a bean like this:
Registry registry = context.getRegistry();
registry.bind("CurrentAggregateStrategy", new AggregateStrategy());
But I want this dependency to be optional, so I am not sure that the class
(in this example AggregateStrategy) is on the classpath.
Is it possible that
onding back to
> the request
>
> Thanks
>
>
> On 26 Sep 2022, at 11:18 PM, Jeremy Ross wrote:
>
> The REST component as well.
>
> https://camel.apache.org/components/3.18.x/rest-component.html
>
>
> On Mon, Sep 26, 2022 at 8:40 AM ski n wrote:
&g
Hi Alex,
I seem you are sending the message to the direct endpoint before the
xml-route is loaded.
Couple of things you may try:
1) Start CamelContext before loading routes
2) Load the camel xml-route with the Camel context (multiple routes can be
loaded in the CamelContext, so you just add it
I would check the Jetty component:
https://camel.apache.org/components/3.18.x/jetty-component.html
The Jetty component can consume HTTP requests and pass it to Kafka.
Raymond
On Sun, Sep 25, 2022 at 4:14 PM Chio Chuan Ooi wrote:
> Hi All,
>
> I am trying to create an application which can
You can either build with OpenJDK 11 with the option or build it with
OpenJDK 17 without the option.
The option:
-XX:MaxPermSize=size
Was already deprecated for a while and has been removed in Java 17.
Raymond
On Tue, Sep 20, 2022 at 10:27 AM FÖRSTERLING Björn <
@Jeremy Don't you mean Jasypt:
https://camel.apache.org/components/3.18.x/others/jasypt.html
On Sat, Sep 10, 2022 at 7:12 PM Jeremy Ross wrote:
> Have you looked at the jsypt component? With it, you can store your
> password encrypted, then access it using property placeholder syntax:
>
>
gested, to use jms-group might be a good idea, and use cases
> described in the page he refers to are very similar.
>
> If you have an idea to simplify this and remove the smell, please share.
>
>
>
> On Thu, Sep 8, 2022 at 4:20 AM ski n wrote:
>
> > Hi Mansour,
&g
/others/main.html#_creating_a_custom_bean_with_constructor_parameters
>
> On Thu, Sep 8, 2022 at 2:52 PM Claus Ibsen wrote:
>
> >
> >
> > On Thu, Sep 8, 2022 at 2:39 PM ski n wrote:
> >
> >> Yes, that was, based on the documentation, the first th
e set with a normal
templateParameter.
Raymond
On Thu, Sep 8, 2022 at 1:51 PM Claus Ibsen wrote:
> You should NOT register the processor yourself, this is done by the
> template bean thingy automatically
>
> On Thu, Sep 8, 2022 at 1:39 PM ski n wrote:
>
> > OK,
nstructor and pass in a
> string literal. Camel is not in use at that point.
>
> In your template bean example, then you need to use {{MyProcessor}} as the
> bean name.
> See the IMPORTANT note at:
>
> https://camel.apache.org/manual/route-template.html#_binding_beans_to_
Hi,
I have a routetemplate as follows:
routeTemplate("processortemplate")
.templateParameter("out")
.from("direct:in")
.process("MyProcessor")
.to("{{out}}");
This works.
The processor is registered an the called by reference. Now I added a
constructor
Hi Mansour,
Your use case sounds a bit complicated. On one hand you need parallel
processing, on the other hand you need blocks/sequential processing. This
may have a bad smell, but I don't know the details of your use case. I
would say try to come up with a way for real parallel processing where
ed a timeout that takes a string value
>
> .pollEnrich("myUrl).timeout("xxx")
>
> I just added that to 3.19 and 3.18.x
>
>
>
> On Tue, Sep 6, 2022 at 4:46 PM ski n wrote:
>
> > I like to create a route template with a parameter of
I like to create a route template with a parameter of a specific Java type.
For example the following routetemplate:
routeTemplate("mypollenrich")
.templateParameter("timeout","5000")
.from("direct:in")
.pollEnrich("myuri", "{{timeout}}","CurrentEnrichStrategy")
Hi Bert,
The mailing list is fine for general discussions regarding Camel. It's
surely not just about questions on errors, but some share experience,
blogs, releases, projects or just need to some help with decisions they
need to make. This is all community based, so sometimes you are lucky that
@Nikolay What are you trying to accomplish functionally?
On Fri, Sep 2, 2022 at 8:02 AM Claus Ibsen wrote:
> Hi
>
> It does not make as much sense to use intercept in templates as intercept
> is really for global scoped
> https://camel.apache.org/components/3.18.x/eips/intercept.html
>
> Also
Yes, this is possible. Probably the best way is to split the current route
in multiple routes (each with its own function). You can even keep the
crontab when needed. Something like this:
rest("/api")
.post("/transfertrain")
.to("direct:transfertrain");
java.xml.bind sounds like a Java 9+ thing. I had this recently:
https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bind-does-not-exist
On Fri, Aug 26, 2022 at 8:06 PM Daniel Langevin <
daniel.lange...@shq.gouv.qc.ca> wrote:
> Hi,
>
> I am using CAMEL 3.14.3 with KARAF
reated.
> - After setting an explicit reference on the connection factory in the
> blueprints, I think that the ActiveMQ bundle of version 2.17.1 manages a
> private package "javax.jms" that hides the publicly exported one...
>
> So... too many issues for something that appeared
Hi,
I think this is because of the history of Camel and ActiveMQ. Originally
Camel was aligned with Apache ServiceMix (https://servicemix.apache.org/)
ServiceMix contained:
- Runtime: Apache Karaf
- Several integration tools/frameworks:
- Camel
- ActiveMQ (Classic)
- CXF (Webservices)
Basically, Apache Camel is an integration framework. Thus it's not a tool
that you can run.
Mostly it goes like this:
1. Start a Java project
2. Add the Camel code
3. Run the Camel (there are various runtimes like Karaf, Main, Quarkus,
Spring Boot). Main is the easiest.
Some suggestions:
1.
es like your example with timer.
> Also your route template is wrong as its a source, (eg from timer) that you
> cannot "call" from a route
>
> No jira as kamelet component is for kamelets so it expects kamelet:source
> or kamelet:sink style route templates.
>
>
>
it is all
> correct then there is a chance that you can "misuse" the kamelet component.
> But use latest version.
>
> On Mon, Jul 25, 2022 at 8:21 AM ski n wrote:
>
> > OK, thanks (this was more or less what I was trying to avoid :) )
> >
> > I thoug
then from your route that wants to call then use direct:xxx to call the
> new route.
>
>
>
> On Sun, Jul 24, 2022 at 11:19 PM ski n wrote:
>
> > Hi,
> >
> > I have a Camel routeTemplate like this:
> >
> > public class MyRouteTemplates extends
Hi,
I have a Camel routeTemplate like this:
public class MyRouteTemplates extends RouteBuilder {
@Override
public void configure() throws Exception {
// create a route template with the given name
routeTemplate("myTemplate")
// here we define the required
Hi William,
First the good news :)
1. Groovy is supported by Quarkus from 1.0
https://camel.apache.org/camel-quarkus/2.10.x/reference/extensions/groovy.html
2. JavaScript is not supported by Camel anymore. The reason is that the
JavaScript engine (Nashorn) has been deprecated since Java 9 (and
Hi Florian,
Did you also set a specific Strategy for the cache of the streaming:
https://camel.apache.org/manual/stream-caching.html
There you can set the threshold so that the stream is spooled to a disk
instead of kept in memory.
Raymond
On Fri, Jul 1, 2022 at 3:49 PM EIBL Florian
1 - 100 of 184 matches
Mail list logo