I don’t see why that exception would be thrown, from the example you
provided. But the example you provided is just from the docs. So, if you
could share more of your actual route/processor, it would be easier to help.
On Nov 25, 2024 at 2:05:38 PM, Penagos Jaime <
jaime.pena...@ub.uni-muenchen.d
"seda:foo")
>
> Any insight on whether the loop EIP is safe to use (no longer suffers from
> memory overrun) here is greatly appreciated.
>
> On Wed, Jan 31, 2024 at 8:45 AM Jeremy Ross
> wrote:
>
> > If you keep copy=false (default), loop sends the same exchange
loop EIP crossed my mind as well, but I'm uncertain
> about the feasibility of manipulating headers for each iteration.
>
> I appreciate your concern.
>
> Thank you.
>
> Le lun. 29 janv. 2024 à 18:35, Jeremy Ross a
> écrit :
>
> > > To achieve thi
Aditya
>
> On Wed, 31 Jan 2024, 12:58 am Jeremy Ross,
> wrote:
>
> > Using a standalone aggregator as you've configured will result in the
> > aggregations completing in a separate thread with the side effect that
> the
> > aggregated exchange is completely disconn
Using a standalone aggregator as you've configured will result in the
aggregations completing in a separate thread with the side effect that the
aggregated exchange is completely disconnected from the split.
And you're correct that if you use the splitter's aggregation slot that you
don't get to p
> To achieve this, I iterated through the route X times, each time executing
a query with a different offset. I utilized Camel headers to store the
offset and other flags, as mentioned in my initial email.
This is a perfectly reasonable approach IMO.
> Does Camel have any built-in functionality t
I think Camel only sets those headers when a JMS message is received.
https://camel.apache.org/components/4.0.x/jms-component.html#_message_format_when_receiving
On Thu, Jan 4, 2024 at 5:56 AM Ephemeris Lappis
wrote:
> Hello.
>
> I've observed that some JMS headers are not updated after a messa
It appears that the camel-zipfile data format does not support non-UTF-8
file names. However, the InputStream produced should be character set
agnostic. So, it's up to you to do something with that stream that involves
a character set, such as a Reader, or the Convert Body To EIP (
https://camel.ap
https://issues.apache.org/jira/projects/CAMEL/issues
On Fri, Mar 17, 2023 at 1:17 PM Ramesh Venkitaswaran <
venkitaswa...@gmail.com> wrote:
> Sure. Where would I make this ticket at? Is there a JIRA board link
> that I can get?
> --
> Ramesh
>
> On Fri, Mar 17, 2023 at 11:02 AM Claus Ibsen
> wro
Looks like the attachment didn't come through.
On Mon, Feb 27, 2023 at 4:07 AM KOPPARTHI Prasad V <
prasad.koppar...@hexagon.com> wrote:
> Hi Team,
>
> We are using the Camel 3.20.1 version.
>
> We have used https and the Jetty components; our aim is to hit the rest
> endpoint. We are able to run
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:
> 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
Yep.
On Sat, Sep 10, 2022 at 3:39 PM ski n wrote:
> @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,
Have you looked at the jsypt component? With it, you can store your
password encrypted, then access it using property placeholder syntax:
ftps://?password={{my_ftp_password}}
Of course, if your file system security is sufficient, you can skip the
jsypt part. Everything else would be the same.
O
You can either use noop=true and have your route move the file after done
processing, or you could try adding an onComplete() that moves the file
from the error folder back into the original folder.
On Thu, Aug 18, 2022 at 12:27 AM Alexander Lex
wrote:
> Hi,
>
> I am using the camel file compone
This was on Java 11 btw.
On Wed, Aug 10, 2022 at 11:38 AM Jeremy Ross
wrote:
> Also, there are endpoint parameters for these settings, but I can't get
> camel to accept them:
>
> There are 2 parameters that couldn't be set on the endpoint. Check the uri
> if the param
> On Tue, Aug 9, 2022 at 10:37 PM Jeremy Ross
> wrote:
>
> > I had to enable ssh-rsa keys and the following to KEXs that the server
> > supported. Added this to a static block in my application.
> >
> > JSch.setConfig("server_host_key", JSch.getConfig(&qu
I had to enable ssh-rsa keys and the following to KEXs that the server
supported. Added this to a static block in my application.
JSch.setConfig("server_host_key", JSch.getConfig("server_host_key") +
",ssh-rsa");
JSch.setConfig("PubkeyAcceptedAlgorithms", JSch.getConfig(
"PubkeyAcceptedAlgorithms"
oot cause is the same.
> The solution suggested by Jeremy should work; you need to insert
> .removeHeader("CamelSqlGeneratedKeyRows")
> before your second ".to("sql:INSERT...").
>
> Regards,
> Karen
>
>
> On 24/03/2022 20:07, Je
To clarify, I'm recommending *clearing* the CamelSqlGeneratedKeyRows header
prior to the sql call.
On Wed, Mar 23, 2022 at 9:34 PM Reto Peter wrote:
> Hi
>
> I tried both with no success
> a) it works as normal, I get the keys back if I only run the 2nd select
> b) I set the Header before first
FYI, I think I worked around this by removing the CamelSqlGeneratedKeyRows
header prior to a sql call.
On Wed, Mar 23, 2022 at 4:42 AM Reto Peter wrote:
> Ya sorry.
> Camel version: 3.15.0
>
> On 23 March 2022 17:03:19 Andrea Cosentino wrote:
>
> Report the camel version, please
>
> Il mer 23 m
What do you mean by "Processor is not starting"? Is there an exception?
Usually when I want to truly *unit* test a processor, I simply instantiate
the processor in a test method, then pass an exchange to its `process`
method that contains whatever headers and body are needed to exercise the
proces
You could also set a map instance in a header or exchange property and any
of the changes to map entries would be visible across sub routes and
siblings.
On Fri, Feb 25, 2022 at 8:04 PM Rohan Emmanuel
wrote:
> Thank you Claus so much for your quick reply.Much appreciated.
>
> On Fri, 25 Feb 2022
I think you need to use blockWhenFull on the producer, so in your to() call.
On Thu, Feb 3, 2022 at 10:33 AM Craig Taylor wrote:
> I've got a scenario where I need to iterate through all users within a
> system and send them to a remote as part of a routine "sync" to ensure that
> both systems a
I replied to you a few days ago on Zulip. I'm not quite sure what you mean
by "component". Is this a custom Component you're creating?
On Tue, Jan 25, 2022 at 3:12 PM Steve973 wrote:
> Hello. I sent another message a few days ago, but perhaps it got lost in
> the shuffle. I am trying to send e
Your diagram came across jumbled, so hard for me to read it. But your
AggregationStrategy is responsible for handling and/or propagating
exceptions. If it swallows an exception, and doesn't pass it on via the
"newExchange", it won't be available to the route's error handler.
On Fri, Nov 19, 2021 a
it reuses the token.
> >
> > Raymond
> >
> > Op di 28 sep. 2021 om 17:16 schreef Andrea Cosentino >:
> >
> > > I think he is talking about a generic component which it's not the case
> > for
> > > the moment
> > >
> >
I believe some components handle OAuth (somewhat) transparently. What's the
use case?
On Fri, Sep 24, 2021 at 12:20 PM Andrea Cosentino wrote:
> Not at the moment.
>
> Il giorno ven 24 set 2021 alle ore 19:11 Riggy Software <
> riggy-softw...@hotmail.com> ha scritto:
>
> > Hi,
> >
> > Does Camel
I like this idea, but have no idea what's involved in making it happen.
On Tue, Sep 28, 2021 at 8:06 AM Calle Andersson
wrote:
> Sure, it is possible to find the documentation in the source code but
> unfortunately it isn't as easy to browse the documentation there as it is
> on the documentatio
;
> zoran
>
> On Mon, Jul 19, 2021 at 5:28 PM Jeremy Ross
> wrote:
> >
> > Hi Claus,
> >
> > I am using this component in production. I'll add to the external
> component
> > section.
> >
> > On Mon, Jul 19, 2021 at 10:12 AM Claus Ibsen
link to it at the Camel website from the list of
> external components
> https://camel.apache.org/community/user-stories/
>
> On Mon, Jul 19, 2021 at 4:23 PM Jeremy Ross
> wrote:
> >
> > Hi all,
> >
> > I've created a new component called camel-openhtmltopd
Hi all,
I've created a new component called camel-openhtmltopdf that will enable
your integrations to generate beautiful PDFs from HTML, CSS, images, etc.
Due to license incompatibility with transitive dependencies, it cannot be
included in the official Camel project. Below are links to the projec
Can you provide more details on how you'll be using this cache?
On Thu, Apr 8, 2021 at 9:57 AM Gv, Shivakumar
wrote:
> Hi Team,
>
> How can I access camel internal cache to fetch/store key value pairs
> .which I have to reload every 24 hrs .
>
> Thanks,
> Shiva
>
You don't have to specify grant_type. Your authentication failed. If you're
using password auth, make sure your password is actually password+API token.
On Thu, Apr 8, 2021 at 10:49 AM WEIQUAN YUAN wrote:
> It is proxy issue, now I moved application out of proxy env , the problem
> fixed.
> but
Nice work!
On Wed, Dec 16, 2020 at 8:44 AM Zoran Regvart wrote:
> Hi Cameleers,
> I've created a PR[1], which I think fixes the problem, I encourage
> folk to provide feedback and test on your end if possible.
>
> I've tested with the `SubscriptionHelperIntegrationTest`. And manually by:
>
> 1/
What's the best way to test a simple camel-main project? I'm trying to
use org.apache.camel.test.junit5.CamelTestSupport, but I can't figure out
how to get it to load application.properties like Main does. TIA!
Hi,
I'm wondering if anyone else is seeing this. I'm running Intellij 2020.2.3
(Build #IU-202.7660.26), and Intellij will only let me install version
0.5.6 of the Camel plugin, which is really old. Latest version is 0.6.4. I
tried to download the plugin and install from disk, but I got this:
[ima
The SQL component is backed by spring-jdbc, and I believe it uses
JdbcTemplate extensively under the hood. I haven't compared performance of
SQL vs JDBC components, but a further benefit of the SQL component is that
it can be used in Camel's transaction support.
On Fri, Aug 7, 2020 at 10:56 PM WEI
sonLibrary.Jackson) .unmarshal().json(JsonLibrary.Jackson,
> MyClass.class)
>
> Regards,
> Sneharghya
>
>
> On Mon, 3 Aug 2020, 10:25 pm Jeremy Ross, wrote:
>
> > Howdy,
> >
> > Is it possible to unmarshal from a Map to POJO w
>
> Hey Paul,
I've yet to use multiple contexts in a single integration. But I've always
thought to myself that when I start running out of endpoint "namespace"
(since a context is basically a global namespace), then maybe that's a good
test for having multiple contexts.
Also, contexts can be ind
Howdy,
Is it possible to unmarshal from a Map to POJO with the Jackson data
format? When I pass it a map, I get:
org.apache.camel.InvalidPayloadException: No body available of type:
java.io.InputStream but has value...
ObjectMapper#convertValue supports this, but I'm not sure how to play nice
wi
See this FAQ entry for more info:
https://camel.apache.org/manual/latest/faq/how-do-i-configure-endpoints.html#HowdoIconfigureendpoints-ReferringbeansfromEndpointURIs
On Mon, Jun 8, 2020 at 3:06 AM Vojtech Fried
wrote:
> Thanks. Works perfectly.
>
>
> From: Claus
onger shows up in hawtio
>
> Might be a version issue. I had the same problem and that is what it was.
> Also, debugging is not there unless I drop back camel versions.
>
> On Thu, Jun 4, 2020, 7:38 PM Jeremy Ross wrote:
>
> > Hey camel folks,
> >
> > At some poi
Hey camel folks,
At some point the Camel plugin stopped showing up in hawtio. I can access
hawtio just fine, but Camel is not in the menu navigation. I don't recall
seeing anything in the upgrade guides about it. Did I miss something?
Thanks,
Jeremy
catch (DateTimeParseException e) {
throw new JsonParseException(e);
}
throw new IllegalArgumentException("unknown type: " + type);
}
}).create();
gsonDataFormat = new GsonDataFormat(gson, new
TypeToken>(){}.getType());
On Tue, Jun 2, 2020 at 12:12 PM Jeremy R
kus/component/dataformats/json/JsonDataformatsRoute.java#L58..L61
>
> hth,
> Alex
>
> On Tue, Jun 2, 2020 at 6:42 PM Jeremy Ross
> wrote:
>
> > Hi All,
> >
> > Is it possible to unmarshal a List of some type with the GsonDataFormat?
> > JacksonDataFormat has
Hi All,
Is it possible to unmarshal a List of some type with the GsonDataFormat?
JacksonDataFormat has this options, and lots others, but not seeing any
such option for gson.
Thanks!
Hi all,
Using the GSON data format, is it possible to specify unmarshalTypeName for
each invocation of unmarshal()?
I discovered that exchange headers are used for HTTP headers. Setting a
header called `Authorization` on the exchange to `Basic ` worked for me.
On Tue, May 12, 2020 at 11:55 AM Alex Soto wrote:
> Hello,
>
> I am facing the same issue, using Camel Rest DSL on top of Servlet,
> Blueprint, Karaf,
I discovered I can just set an "Authorization" header on the exchange,
which the http component seems happy to include in the http request.
On Fri, May 8, 2020 at 2:19 PM Jeremy Ross wrote:
> Hi,
>
> I can't seem to find a way to configure basic auth with the REST Sw
Hi,
I can't seem to find a way to configure basic auth with the REST Swagger
component (using http component under the hood). Any pointers?
Hi,
Any idea why I'd get a blocked thread in the salesforce component?
2020-05-08 10:25:01.355 WARN 92020 --- [SpringContextShutdownHook]
.c.i.e.DefaultAsyncProcessorAwaitManager : Interrupted while waiting for
asynchronous callback, will release the following blocked thread which was
waiting fo
Hi,
I've started seeing "Cannot determine current route from Exchange" and
"will fallback and use first error handler" when an exception is thrown
inside a splitter. I haven't been able to come up with a simple repro yet,
but want to check with you all and see if anyone knows what would cause
this
Hi all,
I'm not sure I understand how the Stub component is intended to be used.
The canonical example seems to be a JMS consumer in production. Camel in
Action says "stub any Camel endpoint by prefixing the endpoint with stub:".
Cool, well if I'm testing production routes, I don't want to modify
Camel 3 requires Java 11, or will soon.
Also, make sure you've made necessary changes outlined here
https://camel.apache.org/manual/latest/camel-3-migration-guide.html.
On Fri, Jan 10, 2020 at 7:49 AM Tom Coudyzer wrote:
> Hi,
>
> Probably a stupid question but seems can't find a solution. I up
Looking at my example code again, I am passing an Aggregator to the
Splitter, along with a completion predicate. The issue is that it appears
that when using an aggregator with a large number of split items, you
eventually run out of stack space.
On Sun, Dec 15, 2019 at 9:55 AM Jeremy Ross wrote
during splitter EIP. Are you sure you aren't looking
> for that?
>
> On Sun, Dec 15, 2019 at 5:53 AM Jeremy Ross
> wrote:
> >
> > Hi,
> >
> > I have a use case that involves splitting a very large list, then
> > aggregating it into smaller lists and proces
Hi,
I have a use case that involves splitting a very large list, then
aggregating it into smaller lists and processing those lists once they
reach a certain size. I'm getting a StackOverflowError (good luck googling
'Camel stackoverflow'), which makes me think I'm doing something wrong.
Here's a r
I’m running Camel 2.23.2 on Spring Boot with web-starter/Tomcat. The
salesforce route will fail if it’s called from the rest route, but works
fine if it’s called from the timer route. One interesting bit is that if I
configure the REST DSL to use spark-rest, it works fine.
Config is below, stack t
58 matches
Mail list logo