Camel 3.22 issues with route ID

2024-04-16 Thread Michael Rambichler
Hi, we recently switched from Camel 3.18 to Camel 3.22 and we discovered following issue in some of our applications: We have several applications that use e.g. openapi generator to create separate route builder classes, a minimal reproducible example is: @Component public final class

FTP not streaming to JMS

2024-02-05 Thread Michael Rambichler
Dear Camel group, Maybe I missed something. But in my testcase/environment the JMS Endpoint does not stream and throws an Java Heap Exception: I have used a simple Apache Camel 3.22.0 Spring boot Route: My JMS is a current: Red Hat AMQ Broker 7.11.0 (locally setup as cluster) The FTP is local

Simple Language

2023-05-25 Thread Michael Rambichler
Hi all, I am struggling with a simple "Simple" Language OGNL use: I would like to replace a String with a regex via simple Please see the following example: .setHeader("result", simple("${header.CamelFileName.replaceAll('^.*.pdf', 'Hello')}")) But it does not work at all. Do I miss something?

Smooks Component

2023-02-15 Thread Michael Rambichler
Hi Folks, do i miss something or why do i not find the smooks component under camel components? https://www.smooks.org/ It was integrated but now i cannot find it anymore I am investigating EDIFact transformations (Migrate from Or*** B2B Suite) Thanks for your help Michael

Logging of exchangeId and breadcrumbId

2023-01-26 Thread Michael Rambichler
Hi folks! We are using MDC Logging to get the exchangeId, breadcrumbId attached to all our log/debug lines pushed to our elk stack. Currently we use MDCLogging and logstash-logback-encoder which is configured as JSON output I often read that MDC Logging is not that well supported/proposed in

Re: Streamcaching and spooling

2022-11-25 Thread Michael Rambichler
rge streams needs to > > configure for such use-cases. > > You may also want to configure which temporary directory to use for > > spooling, and what byte limit to overflow etc. > > > > > > > >> > >>> On 24 Nov 2022, at 14:59, Claus

Streamcaching and spooling

2022-11-24 Thread Michael Rambichler
Hi all, with camel 3.18. stream caching is enabled by default. That's good. But we have realized that spooling is disabled by default. IMHO this can lead to unwanted OOM situations. Because from now on (>= 3.18.x) a big stream will be cached by default in memory. Or am I wrong? I would strongly

Routetemplates Feature Request

2022-11-03 Thread Michael Rambichler
Hi all, we are working a lot with RouteTemplates. We often struggle the issue of the Route naming order dependency What do you think? I have already created a JIRA Issue in the backlog: https://issues.apache.org/jira/browse/CAMEL-18683 As a testcase: Name your RouteTemplate: ZTemplate and

Re: Route Template and dependency to Spring Boot Component Order initialization

2022-11-03 Thread Michael Rambichler
ct template = clazz.getDeclaredConstructor().newInstance(); > if(template instanceof RouteBuilder){ > context.addRoutes((RouteBuilder) template); > } > > } > > } > > } > > I haven't tested it, but it is worth a try. > > Raymond > > On Wed, Nov 2, 2022 at 2:12 PM Michael Rambichler

Route Template and dependency to Spring Boot Component Order initialization

2022-11-02 Thread Michael Rambichler
Hi all, we are heavily using route templates with camel 3.18.x and Spring boot 2.7.3 I still wonder if there is no better possibility to avoid the spring boot component scan order dependency. To reproduce the issue: check out the example from

.process(MyProcessor.class)

2022-09-22 Thread Michael Rambichler
Hi all, just tried out to instantiate a CustomProcessor in a route (like it is documented) But this does not work. Error: Cannot resolve method 'process(Class)' Should we remove this from documentation? USING A PROCESSOR IN A ROUTE Once you have written a class which implements processor like

Re: Memory problem with Camel split

2022-07-01 Thread Michael Rambichler
Hi all, I have filed a critical JIRA Bug Ticket: https://issues.apache.org/jira/browse/CAMEL-18255 The case can easily be reproduced and risks a lot of our splitting routes. Best Michael Am Fr., 1. Juli 2022 um 16:06 Uhr schrieb ski n : > Hi Florian, > > Did you also set a specific Strategy

StreamCache and recipientlists not working in parallelProcessing() mode

2022-06-03 Thread Michael Rambichler
Hi all, I think the current 3.14.1 streamcache implementation is not working as expected. Please see the following example of our streambased Route .from("timer:reserveRows?period={{pollInterval}}=true") .to("{{selectStmt}}") .marshal(new ParquetFileDataFormat()) .to("direct:upload")

Re: Redirect with POST call not possible

2022-05-10 Thread Michael Rambichler
You can maybe use the http client configurer thingy on camel-http to > customize the created client to set that code. > > On Tue, May 10, 2022 at 4:20 PM Michael Rambichler > wrote: > > > > Hi, > > > > Yes, exactly. I debugged the http-client code already. An

Re: Redirect with POST call not possible

2022-05-10 Thread Michael Rambichler
Ibsen : > Hi > > So are you asking for how to configure the http client to follow redirects? > > You use camel-http, so you need to find out how it does redirects > > On Tue, May 10, 2022 at 3:46 PM Michael Rambichler > wrote: > > > > Hi Team, > > > > I

Redirect with POST call not possible

2022-05-10 Thread Michael Rambichler
Hi Team, I hope someone can help us. We have to do a simple rest callout with POST method and http as producercomponent: If we use POST as method, the redirect in the http component is not fulfilled. (If we use GET it works) After some investigation we realized that we have to configure the

Redirects with POST call not configurable

2022-05-10 Thread Michael Rambichler
Hi Team, i hope you can help us. We have a simple rest callout with POST Method and http as producer component: restConfiguration() .producerComponent("http") .host("localhost") .port((Integer)

Camel-K and local maven repository

2022-04-26 Thread Michael Rambichler
Hi Guys, I just do not get it running to reference a local dependency in my camel-k integrations. Any help or hints would be appreciated. Best Michael Please see below my test setting. This is my simple Test route with a modline: dependency= *mvn:com.hello:hello-tool:1.0.0* // camel-k:

Kamel and Kamelets

2022-04-16 Thread Michael Rambichler
Hi guys, I am playing around with Kamel and got stuck on the following question: Is it possible to use RouteTemplates with kamel? I figured it out to define kamelets in yaml. This is fine. But I have quite complex RouteTemplates with inline processors (simple java code). 1) Is there a

Re: BreadcrumbId not set in MDC Logging during ErrorHandling Processor

2022-01-19 Thread Michael Rambichler
This behavior was introduced with Camel Version 3.12 Previously (3.11) it works as expected. I have created a Bug Ticket: https://issues.apache.org/jira/browse/CAMEL-17514 Am Mi., 19. Jan. 2022 um 12:10 Uhr schrieb Michael Rambichler < mich...@rambichler.at>: > Hi together, > >

BreadcrumbId not set in MDC Logging during ErrorHandling Processor

2022-01-19 Thread Michael Rambichler
Hi together, I hope you can give me a hint / solution to mitigate our Problem. We use MDCLogging and BreadcrumbIds. But if we use in our Errorhandling e.g. an Custom OnExceptionProcessor the MDC Value [camel.breadcrumb] is not set anymore. Is this a camel bug or do we misunderstand something?

Re: CamelBeanPostProcessor for EventNotifier fails since Camel 3.12 (3.11 works)

2022-01-14 Thread Michael Rambichler
workaround we have is to downgrade do Camel 3.11 Am Mi., 12. Jan. 2022 um 19:12 Uhr schrieb Michael Rambichler < mich...@rambichler.at>: > Hi together, > > I am afraid but I think I have found a bug (Camel 3.13. and > Springboot 2.6.x) > Custom EventNotifier in a pla

CamelBeanPostProcessor for EventNotifier fails since Camel 3.12 (3.11 works)

2022-01-12 Thread Michael Rambichler
Hi together, I am afraid but I think I have found a bug (Camel 3.13. and Springboot 2.6.x) Custom EventNotifier in a plain Camel + Springboot Routebuilder. I have reproduced it with the spring boot example: https://github.com/apache/camel-spring-boot-examples/tree/main/spring-boot and added the

Re: managementStrategy.addEventNotifier() not loading Bean

2022-01-10 Thread Michael Rambichler
our bean is visible to the camel management and started spring: main: allow-circular-references: true Am Mo., 10. Jan. 2022 um 18:24 Uhr schrieb Michael Rambichler < mich...@rambichler.at>: > Short Update. > We switched back to the previous used spring boot version. > A

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 Spr

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()

DeadletterChannel ErrorHandler and Transactions

2021-11-17 Thread Michael Rambichler
Hi Team, i have to following Use Case: We use for all our routes a customized ErrorHandler: MyErrorHandlerBuilder extends DeadLetterChannelBuilder In case of .transacted routes I would like that the TransactionErrorManager kicks in and overrules our custom ErrorHandler and rollback exceptions.

Re: Jasypt and PropertySource

2021-04-21 Thread Michael Rambichler
2021 um 20:02 Uhr schrieb bukaj_s : > spar-ics? > > On Wed, 21 Apr 2021, 16:35 Michael Rambichler, > wrote: > > > Dear Community, > > > > Do I miss something or is it not implemented? > > I am working with Jasypt Config Encryption. (org.apache.camel.springb

Jasypt and PropertySource

2021-04-21 Thread Michael Rambichler
Dear Community, Do I miss something or is it not implemented? I am working with Jasypt Config Encryption. (org.apache.camel.springboot: camel-jasypt-starter) Everything works fine if a access the property via: @Value("${com.spar-ics.eai.routes.hello.hiddenPassword}") private String

Absolut path information in ftp/sftp component

2021-03-05 Thread Michael Rambichler
Hi together, What is the reason that ftp/sftp component does not support absolute path information? Is there a technical reason? Or is it maybe a viable request for a feature? Thanks Michael

Camel SFTP connection pooling

2020-12-02 Thread Michael Rambichler
Hi together, I’m interested in how the Camel SFTP component implements connection pooling. Is there a default connection pool and if so, how does it work. I have to sftp a huge file amount in a short period of time and the destination server allows only very limited number of connections.

Delayed Retry over several days

2020-07-28 Thread Michael Rambichler
Dear Camel Specialists, i am looking for the best option for the following use case: We have a lot of big messages (100 MB- 1GB) in one flow. How can we implement a retry mechanism that tries to retry over several days. *But without blocking* the other messages in the JMS (Artemis). Are there

Unit Test with @producer endpoints

2020-07-03 Thread Michael Rambichler
Dear Camel Specialists, I have an EventNotifier where I send a message to another camel endpoint (JMS Queue) from a POJO. This works fine. But I cannot test this Notifier because of this @Producer Endpoint. *My EventNotifier:* public class TrackingEventNotifier extends EventNotifierSupport {

Camel Development Support

2020-04-15 Thread Michael Rambichler
Dear Camel Team! We are searching for commercial offers located in europe (we are located in austria) for consulting, architectural review or a senior level Camel Training. I have already contacted some of the commercial links (without success) from this page:

camel-restdsl-openapi-plugin

2020-03-06 Thread Michael Rambichler
Dear all, hopefully you can give me some advice: I have created with the actual camel-restdsl-openapi-plugin a plain rest implementation. (with dto) camel-restdsl-openapi-plugin 3.1.0 generate-with-dto The generated RestController looks like:

Fwd: Manual Resend Feature

2020-02-28 Thread Michael Rambichler
Dear user group, We are currently looking for a concept for a manual resend feature. Independent of the route and the source system (File, SQL, Soap, ...) we want to write a kind of backup (persisted per file?) for all incoming messages. The idea would be to trigger a resend or put this backup in