Re: Issue CAMEL-17154: Request for comment and review

2022-01-10 Thread Steve973
Hi, Claus. I am just checking in to see if expanding on my rationale for the component helped at all, and if you have any additional thoughts. In short, is it ok for a component to be "glue"? Thanks, Steve On Sat, Jan 8, 2022 at 10:09 AM Steve973 wrote: > Hello. I would like to add a little

Re: filter messages in split()

2022-01-10 Thread Claus Ibsen
Hi I created a ticket about adding the filter status back (but needs to be turned on). I Wonder about a good name for such an option. Feedback welcome https://issues.apache.org/jira/browse/CAMEL-17468 On Mon, Jan 10, 2022 at 8:10 PM Claus Ibsen wrote: > > Hi > > You can add a custom header or ex

Re: Invoke method in Predicate

2022-01-10 Thread Claus Ibsen
Hi I am adding method back as I found a way to do this in a way that is not causing tight dependency to camel-bean https://issues.apache.org/jira/browse/CAMEL-17467 On Mon, Jan 10, 2022 at 8:15 PM Claus Ibsen wrote: > > Hi > > You can use simple instead of method ala: > > simple("${bodyAs(Some

Re: Invoke method in Predicate

2022-01-10 Thread Claus Ibsen
Hi You can use simple instead of method ala: simple("${bodyAs(Some.class).getCustomer()}") On Wed, Dec 8, 2021 at 10:17 PM Shultz, Dmitry wrote: > > Hi All, > > I'm migrating some service from 2.25 to 3.13 using the migration guide - so > far so good, but there is one thing I can't figure out

Re: filter messages in split()

2022-01-10 Thread Claus Ibsen
Hi You can add a custom header or exchange property in the filer, which you can then read in the aggregation strategy to know if you want to include the message or not. On Fri, Jan 7, 2022 at 12:15 PM Jörg Jansen wrote: > > Dear all, > > I'm currently migrating my application from camel 3.7 to t

Re: How to retrieve source port: Camel-HTTP

2022-01-10 Thread Claus Ibsen
Hi I suggest that you look at Http Client to see if they offer any API / method to get this information. As that would be needed if Camel should be able to get this information too. On Thu, Jan 6, 2022 at 8:57 AM Vidyashree N S wrote: > > Hello, > We are using camel-http component in order to co

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Claus Ibsen
Hi I remember now that it was also a false alarm, that the mkdirs would return false even if the dirs already exists. public boolean mkdirs() { if (exists()) { return false; } On Mon, Jan 10, 2022 at 1:00 PM Steve973 wrote: > > At least I am consistent with speaking prematurely

Re: managementStrategy.addEventNotifier() not loading Bean

2022-01-10 Thread Michael Rambichler
Sorry to spam this mailing list. But I want to avoid any double investigation: We narrowed down the problem. Even if there is no error/warning the new introduced check for circular-references in spring boot creates the problem. The property below (default: false) enables the <2.6 behavior and our

Re: managementStrategy.addEventNotifier() not loading Bean

2022-01-10 Thread Michael Rambichler
Short Update. We switched back to the previous used spring boot version. And it worked. Even that 2.4.1 is not supported with camel 3.14 2.4.1 Am Mo., 10. Jan. 2022 um 17:18 Uhr schrieb Michael Rambichler < mich...@rambichler.at>: > Hi all, > > we switched to Camel 3.14. and Spring Boot 2.16.2

managementStrategy.addEventNotifier() not loading Bean

2022-01-10 Thread Michael Rambichler
Hi all, we switched to Camel 3.14. and Spring Boot 2.16.2 and since that we face following problem: We have a Custom EventNotifier. The bean is loaded in the SpringContext. (checked) But the automatic loading does not happen by camel engine. (it happens previously with Camel 3.12) The doStart() e

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Steve973
At least I am consistent with speaking prematurely. The messaging and, therefore, the alerts, are functioning properly. Maybe we can forget this whole conversation. Have a great day! :) On Mon, Jan 10, 2022 at 6:48 AM Steve973 wrote: > Thanks, Claus. I forgot to mention that this is also in

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Steve973
Thanks, Claus. I forgot to mention that this is also in a docker container that has "VOLUME /tmp" in the dockerfile. I actually do see the /tmp/camel directory in the container. It's odd because I was using JMS to feed a websocket with alerts that show up in our UI, and I am no longer seeing tho

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Claus Ibsen
Hi It can be stream caching (if you use that) that overflow to disk, where it writes to a temp folder by default. However that warning is harmless - it was enabled due to a upstream contribution from a code scan tool so the contributor added WARN logs and much more in some big PRs where this fall

Trying to track down a mkdirs() failed error

2022-01-10 Thread Steve973
Hello. I am using camel 3.12.0 in a project, and I am probably not logging enough detail, but I see a message like this: org.apache.camel.util.FileUtil (101) - mkdirs() failed for /tmp/camel/camel-temp- To give a bit more context, I am using the following: - camel-spring-boot-starter