I think this is a bug in the underlying library smbj:
https://github.com/hierynomus/smbj/issues/864
And this error was also discussed on the Camel forum:
https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/SMB.20Componnent.20how.20the.20connection.20alive.3F/with/507977443
As I can s
Hi,
I get stats like this:
ManagedCamelContext managed =
context.getCamelContextExtension().getContextPlugin(ManagedCamelContext.class);
ManagedRouteMBean route = managed.getManagedRoute(routeId);
totalMessages = route.getExchangesTotal();
completedMessages = route.getExchangesCompleted();
faile
I don't know about Yaml, but this is how I load XML routes as String like
this:
loader = PluginHelper.getRoutesLoader(context);
loader.loadRoutes(setResource(route,"xml"));
private Resource setResource(String route, String type){
String uuid = UUID.randomUUID().toString();
if(type.equa
= new ByteArrayOutputStream();
mm.writeTo(byteStream, headers.toArray(new String[0]));
exchange.getIn().setBody(byteStream.toString());
however when using the normal stream:
mm.writeTo(stream, headers.toArray(new String[0])); (on line 167)
On Fri, Feb 14, 2025 at 5:02 PM ski n wrote:
> I have the follow
I have the following route:
direct:enrich
This route works as follows:
1. Enrich: Adds the body from the enrich endpoint as attachment:
2. Marshal: The exchange with attachment is marshalled to a MimeMessage
using MimeMultipartDataFormat
This worked until 4.9.0, but f
Did you try to use an errorHandler? Some like this:
from("seda:a")
// here we configure the error handler
.errorHandler(deadLetterChannel("seda:error"))
// and we continue with the routing here
.to("seda:b");
Then you can set the errorHandler direct
Thanks for your interest in Camel.
The error: " Caused by: java.lang.ClassNotFoundException:" means that the
right dependency (jsonpath in this case) is not on the Java classpath. How
the
dependencies are handled depends a bit on the runtime that Camel is
running. ActiveMQ is not really a runtime.
I have never used the platform-http component myself, but from the
documentation it says that:
"The Platform HTTP is used to allow Camel to use the existing HTTP server
from the runtime. For example, when running Camel on Spring Boot, Quarkus,
or other runtimes. "
So I think the first question is
Today there was a vote for a release for “Apache Camel Upgrade Recipes”.
What are these recipes exactly? Are they the OpenRewrite Recipes to upgrade
between LTS versions?
https://docs.openrewrite.org/recipes/io/quarkus/updates/camel
Is this only for Quarkus, or general purpose?
Are they document
Like Claus mentioned, it's always possible to set the exchangePattern into
a separate step. A route would look something like this:
from("direct:start")
.setExchangePattern(ExchangePattern.InOnly)
.toD("log:${header.destination}");
Raymond
On Thu, Sep 19, 2024 at
> > Hi,
> > In the code that I pasted it is already set to lazy-init="true".
> >
> > Please correct me if I am wrong.
> >
> > Thanks,
> > Sujeet
> >
> >
> > On Tue, 27 Aug 2024, 17:26 ski n, wrote:
> >
> >> You are
et to lazy-init="true".
>
> Please correct me if I am wrong.
>
> Thanks,
> Sujeet
>
>
> On Tue, 27 Aug 2024, 17:26 ski n, wrote:
>
> > You are creating a custom component with its own name " jmsMQ". This is
> not
> > uncommon for the
You are creating a custom component with its own name " jmsMQ". This is not
uncommon for the JMSComponent, however in your case, the component is not
available as endpoint when you load it. You may try to set lazy-init="true"
from to false.
Raymond
On Tue, Aug 27, 2024 at 1:26 PM Sujeet Singh
wr
I also have a fairly big open source project based on Camel:
https://github.com/assimbly/gateway
It's a gateway between systems. It also powers a commercial project.
Raymond
On Wed, Aug 21, 2024 at 10:24 AM Claus Ibsen wrote:
> Hi
>
> You can also find some companies, and open source projects
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 t
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 (applicati
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 han
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 scale
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
o 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
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.
> >
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(
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
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
> timestamp is not
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 ap
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 th
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 8:
just a human 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 alrea
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 eas
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 isn
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 documentation
el 4 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
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).
> >
> &g
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
>
4 AM Claus 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:
> >
>
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&noop=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 (http
heck).
> 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 tri
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 i
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 document
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);
context.removeRoute(route
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 ea
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, 202
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
> >
> > I hav
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 (
https://camel.apache.org/manual/camel-4-migration-guide.html)
>
>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,
> S
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 star
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
e queues that are managed by the 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 :
> >
> > Ca
dication
> using 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 queu
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 you
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
H
processor
>
> 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
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:
http:/
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 ActiveM
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 create
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.
https://www.javadoc.io/doc/org.apac
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.
T
? 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 r
parated 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
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
to
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 it
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
https://access.redhat.com/
ing any other camel component. When you
>are subscribing/unsubscribing 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 t
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 l
@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 '?'.
Obv
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 pack
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))
.s
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 i
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
>
> Background:
ile
> 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
t;
> On the return, I am not using 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
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
war
bean = 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 st
otations you can use to trigger 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
&
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
mE7YJ7JDhzG27Sr8bH3Jimzsd8Grb8jOKeo8hpeIWcLsay%2Ba%2FHswgdAQlbQEebkrrApFd4m0JffPAerKCwi9A54BI2eZNq2xmPRHg%2FkUQzLX11l%2Fa387Zp1%2Bz8%3D>
>
>
> Which the http component can wait for callback before responding back to
> the request
>
> Thanks
>
>
> On 26 Sep 2022, at 11:18 PM
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 t
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 e
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 <
bjoern.foersterl...@cpb-softwa
@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:
>
> ftps:
Claus suggested, 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 M
tps://camel.apache.org/components/3.18.x/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, base
late can then be 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
d Java code with a new constructor 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.h
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 argum
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
; Ah yeah we need 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
1 - 100 of 198 matches
Mail list logo