AWS2-S3 timeout while uploading on Camel 3.20.3

2023-04-12 Thread Vyacheslav Boyko
Hi! Please help me to solve a problem. It worked properly on Apache Camel 3.20.1 (Java 11) and fails with timeout after I upgrade it onto 3.20.3 (Java 17). I run my app on SpringBoot. I have a service with the route which just uploads files onto AWS S3. from("direct:save-s3") .routeId("save-s3")

Re: Exception while collecting the response of http call used in recipient list EIP

2022-10-26 Thread Vyacheslav Boyko
My bad, timeouts were the cause. On 10/26/22 14:48, Vyacheslav Boyko wrote: Hello. Please help to understand why does the exception occur? My rout could be simplified to from("seda://notification-pool?concurrentConsumers=500") .process(exchange -> exchange.setPropert

Re: Exception while collecting the response of http call used in recipient list EIP

2022-10-26 Thread Vyacheslav Boyko
Camel version 3.15.0 On 10/26/22 14:48, Vyacheslav Boyko wrote: Hello. Please help to understand why does the exception occur? My rout could be simplified to from("seda://notification-pool?concurrentConsumers=500") .process(exchange -> exchange.setProperty(WEBHOOK_URL,

Exception while collecting the response of http call used in recipient list EIP

2022-10-26 Thread Vyacheslav Boyko
ok is being delivered successfully despite of having this exception. And when I use CURL to check webhook URL on data acceptance, it returns meaningful body. Seems only Camel could not read the answer. Why? -- Vyacheslav Boyko mailto:mail4...@gmail.com

Re: How do I install and use Apache Camel?

2022-07-26 Thread Vyacheslav Boyko
? Thank you. Regards, Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore 26 July 2022 Tuesday Blogs: https://tdtemcerts.blogspot.com https://tdtemcerts.wordpress.com -- Vyacheslav Boyko mailto:mail4...@gmail.com

How to substitute sending to endpoint in testing with AdviceWith technique?

2022-07-25 Thread Vyacheslav Boyko
ot; and returns into the main flow of route? How to exclude sending to "direct://b" at all in test and substitute it with advice? -- Vyacheslav Boyko mailto:mail4...@gmail.com

Why doesn't Camel tracing use .toString() ?

2022-07-05 Thread Vyacheslav Boyko
='CHST25'}, referenceNumber=s0Iq, walletId=WL-100100101) The first line is from Camel tracing, the second one is from my own log.info("Card reloaded: " + exchange.getIn().getBody(Card.class)). Why doesn't Camel tracing use .toString() ? -- Vyacheslav Boyko mailto:mail4...@gmail.com

Re: How to split exception handling by route builder in one application?

2022-06-10 Thread Vyacheslav Boyko
Oh! It is definitely new page of Camel for me :) Many thanks! On 6/10/22 13:51, Claus Ibsen wrote: See route configuration https://camel.apache.org/manual/route-configuration.html On Fri, Jun 10, 2022 at 12:47 PM Vyacheslav Boyko wrote: Hi! According to docs I am able to handle

How to split exception handling by route builder in one application?

2022-06-10 Thread Vyacheslav Boyko
RouteBuilders for better readiness. Most of routes into each route builders are to make SOAP requests into our partner's application (not on my control). I want to handle exceptions separately in order to prepare different messages for them in each process. -- Vyacheslav Boyko mailto:

Does camel-extra/firebase component works properly with the latest versions of Camel?

2022-06-09 Thread Vyacheslav Boyko
I've found this component on github https://github.com/camel-extra/camel-extra/tree/master/components/camel-firebase/src/main/java/org/apache/camel/component/firebase Will it work with Camel 3.15-3.17? -- Vyacheslav Boyko mailto:mail4...@gmail.com

Re: Camel language

2022-05-21 Thread Vyacheslav Boyko
her level than a DSL. Of course, it should be possible to extend the language through beans and other stuff. Is Camel a framework or a language? What are your thoughts on this topic? Raymond -- Vyacheslav Boyko mailto:mail4...@gmail.com

unmarshalling with jackson, LocalDateTime and datatype:jackson-datatype-jsr310

2022-05-12 Thread Vyacheslav Boyko
apache.camel', name: 'camel-jackson', version: '3.15.0'     implementation group: 'org.apache.camel', name: 'camel-jacksonxml', version: '3.15.0' but they seem don't work in this case. How to deal with it? -- Vyacheslav Boyko mailto:mail4...@gmail.com

Re: Camel Route not starting issue

2022-03-10 Thread Vyacheslav Boyko
is issue as SQS messages are not consumed as no camel route has started. Early response will be helpful and appreciated as it is bit urgent for my project. Thanks and Regards, Justin. -- Vyacheslav Boyko mailto:mail4...@gmail.com

Re: Can't test Camel processor

2022-03-04 Thread Vyacheslav Boyko
Briefly. Catch the thing after your processor. Take a look on code snippets in my article https://link.medium.com/oeURBq6R7nb ___ Best regards, Vyacheslav. Alaeddine HAOUAS <4codynam...@gmail.com> 4 марта 2022 г. 14:58:37 написал: Hi, I have an issue in a unit test, to verify a Processor. Con

Re: CXF endpoint is not registered into Spring registry?

2021-12-25 Thread Vyacheslav Boyko
Oh... I've solved it. But... how could I call CXF .bean("cxf:bean:hostCxfEndpointInformation") instead of .to("cxf:bean:hostCxfEndpointInformation") ??? It was my fault. Sorry for disturbing you. On 12/25/21 21:11, Vyacheslav Boyko wrote: Hi! I have one CxfEnp

CXF endpoint is not registered into Spring registry?

2021-12-25 Thread Vyacheslav Boyko
ari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2021-12-25 21:03:22.637 INFO 60866 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. Process finished with exit code 1 -- Vyacheslav Boyko mailto:mail4...@gmail.com

Kafka component, consuming, threads count

2021-12-17 Thread Vyacheslav Boyko
Hi! Is there a guarantee that Camel use only one thread while consuming kafka topic like from("kafka://topic") .. if I do set up consumers count into 1 ? -- Vyacheslav Boyko mailto:mail4...@gmail.com

Re: Liveness probe or reconnect to Kafka when using of camel-kafka

2021-12-09 Thread Vyacheslav Boyko
. Please keep the users ML through the addresses, it would be helpful for the community. Il giorno gio 18 nov 2021 alle ore 12:01 Vyacheslav Boyko ha scritto: Where to read about the work around? On 11/18/21 12:09, Andrea Cosentino wrote: There are some work around the health

Re: How to expand blocks of tracing log?

2021-11-29 Thread Vyacheslav Boyko
tracer via org.apache.camel.spi.Tracer and plug that into CamelContext. But an enhancement could be to allow to configure the TRACING_OUTPUT in the DefaultTracer so you can configure this. You are welcome to create a JIRA and try to implement this. On Mon, Nov 29, 2021 at 1:09 PM Vyacheslav Boyko wrote: Hi! 14:07:29

How to expand blocks of tracing log?

2021-11-29 Thread Vyacheslav Boyko
id 6) route definition / endpoint uri 7) the very log Is there any possibility to expand route id and route definition blocks? They contain very small portion of info needed. -- Vyacheslav Boyko mailto:mail4...@gmail.com

Re: What is this exception? Could not find a suitable setter for property: lazyStartProducer as there isn't a setter method with same type: [null] nor type conversion possible: null

2021-11-27 Thread Vyacheslav Boyko
It was an exception because of my code. I have fixed it already. On 11/27/21 20:36, Claus Ibsen wrote: Hi You need to tell more, what Camel version you use, how you run Camel etc. On Sat, Nov 27, 2021 at 2:09 AM Vyacheslav Boyko wrote: Hi! I have faced with strange exception. Could you

What is this exception? Could not find a suitable setter for property: lazyStartProducer as there isn't a setter method with same type: [null] nor type conversion possible: null

2021-11-26 Thread Vyacheslav Boyko
   at org.apache.camel.support.PropertyBindingSupport.doSetSimplePropertyViaReflection(PropertyBindingSupport.java:834)     at org.apache.camel.support.PropertyBindingSupport.setSimplePropertyViaReflection(PropertyBindingSupport.java:721)     ... 121 more -- Vyacheslav Boyko mailto:mail4...@gmail.com

Need an advice how to poll enrich from Kafka topic aggregating on content property

2021-11-24 Thread Vyacheslav Boyko
return oldExchange; },false) I need to aggregate response basing on property "walletId". How do I deal with it? -- Vyacheslav Boyko mailto:mail4...@gmail.com

Liveness probe or reconnect to Kafka when using of camel-kafka

2021-11-18 Thread Vyacheslav Boyko
to check liveness or how to reconnect to Kafka automatically? My route may be simplified into: from("kafka://start)to("kafka://notification"); I'm confused about such reaction of kafka connector... -- Vyacheslav Boyko mailto:mail4...@gmail.com

Give me suggestions about how to use ProducerTemplate correctly please

2021-11-03 Thread Vyacheslav Boyko
  .to("seda://business-start"); // to process in separated thread   }   public void sendMessage(Msg msg) {     producerTemplate.sendBody("seda://start", msg);   }   @PreDestroy   public void preDestroy() {     producerTemplate.stop();   } } ___ Vyacheslav Boyko mailto:mail4...@gmail.com

Re: Use of lombok in camel codebase?

2021-11-02 Thread Vyacheslav Boyko
Lombok have advantages and disadvantages both. With bringing reducing of annoying boilerplate it brings its "magic" of underlying code generation which could be understood only by having some level of practice using Lobmok. For example, deserialization troubles when a constructor have more than

Re: How to programmatically reset an application property?

2021-08-24 Thread Vyacheslav Boyko
Look into Spring application properties locations https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config.files Your users can specify properties in command line and external file. ___ Best regards, Vyacheslav. Ron Cecchini 24 августа 2021 г. 17:46:

What is the scope of route exception handling?

2021-06-22 Thread Vyacheslav Boyko
should I separate sending message to hostCardServiceEndpoint in separated route to perform per-route exception handling? 5) Does it really mean in case of my "call" is CXF (hostCardServiceEndpoint is "cxf://endpoint")? Many thanks, Vyacheslav Boyko. mailto: mail4...@gmail.com

Re: Tell me about moving messages from one route to another and manual Kafka commit

2021-06-21 Thread Vyacheslav Boyko
te 3. > > -- > Andrea Cosentino  > -- > Apache Camel PMC Chair > Apache Karaf Committer > Apache Servicemix PMC Member > Email: ancosen1...@yahoo.com > Twitter: @oscerd2 > Github: oscerd > > > > > > > On Monday

Tell me about moving messages from one route to another and manual Kafka commit

2021-06-21 Thread Vyacheslav Boyko
will be able to perform Kafka commit in route 2? Or do Camel do something with Kafka fetching makes me being not able to commit Kafka message in next (after Kafka consuming) route? -- Vyacheslav Boyko aka bvn13 mailto:mail4...@gmail.com