Re: Merging paths after multicast EIP // Strange Behavior

2020-07-03 Thread Claus Ibsen
Hi You need to end the multicat assuming you only want to call a and b .multicast(stringConcatStrategy).parallelProcessing(true).to("direct:a","direct:b") should be .multicast(stringConcatStrategy).parallelProcessing(true) .to("direct:a","direct:b") .end() On Fri, Jul 3, 2020 at

Re: Unit Test with @producer endpoints

2020-07-03 Thread Claus Ibsen
You need to mark to skip also for intercept send to endpoint. On Fri, Jul 3, 2020 at 9:09 PM Michael Rambichler wrote: > > 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

Merging paths after multicast EIP // Strange Behavior

2020-07-03 Thread Reji Mathews
Am just trying to understand the nature of multicast EIP and its further processing down. I have a route as follows @Override public void configure() throws Exception { from("jetty:http://0.0.0.0:8081/testagg?httpMethodRestrict=GET;) .convertBodyTo(String.class)

Re: Merging paths after multicast EIP // Strange Behavior

2020-07-03 Thread Claus Ibsen
On Fri, Jul 3, 2020 at 9:13 PM Reji Mathews wrote: > > Thanks for that quick response. What if I need to have more processing > after the multi-cast eip? Suppose I want to use the aggregated output and > perform some massaging and push it into another remote service endpoint? > Yeah thats the

Re: Making copy of ObjectMapper in JacksonDataFormat in Camel 2.25

2020-07-03 Thread Claus Ibsen
Hi I think there may be an option to turn off the auto configuration of the ObjectMapper in Camel. On Mon, Jun 29, 2020 at 3:52 PM Yifan Wu wrote: > > Dear Camel team, > > We have a question about the JacksonDataFormat in Camel 2.25. In > JacksonDataFormat class doStart() method, it looks for

Re: Camel Help

2020-07-03 Thread Claus Ibsen
Hi Maybe try to package your apps separated as two .war files with their own JARs so you dont use shared libs in Tomcat - as that is not a good practice. On Mon, Jun 15, 2020 at 7:35 PM Arthur Rubin wrote: > > Hi > I don't have super, deep experience with Camel but I've been using it very >

Re: RoutesBuilder example in camel 3.2

2020-07-03 Thread Claus Ibsen
Hi context.addRoutes(new RouteBuilder() { Automatic adds the route, so you dont need to do anything else. This is what 99,9% of users do. What you did in 2.x is not common with using the xxxDefinition classes. That is more for Camel internally. Use the RouteBuilder classes with the DSL in the

Re: Error in camel-http4 after update version from 2.20.2 to 2.25.1

2020-07-03 Thread Mikhail Lukyanov
Hi, Claus. Yes, you are right, I found old Camel version in maven dependensies. пт, 3 июл. 2020 г., 22:03 Claus Ibsen : > Hi > > That smells like you have mixed versions of Camel JARs on your classpath. > Make sure your upgrade use only 1 version of Camel and its the same version. > > On Thu,

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 {

Re: Merging paths after multicast EIP // Strange Behavior

2020-07-03 Thread Reji Mathews
Thanks for that quick response. What if I need to have more processing after the multi-cast eip? Suppose I want to use the aggregated output and perform some massaging and push it into another remote service endpoint? Is that possible? On Fri, Jul 3, 2020 at 2:56 PM Claus Ibsen wrote: > Hi > >

Re: Merging paths after multicast EIP // Strange Behavior

2020-07-03 Thread Reji Mathews
Oh i see what you mean! thank you Claus. On Fri, Jul 3, 2020 at 3:32 PM Claus Ibsen wrote: > On Fri, Jul 3, 2020 at 9:13 PM Reji Mathews wrote: > > > > Thanks for that quick response. What if I need to have more processing > > after the multi-cast eip? Suppose I want to use the aggregated

Re: Error in camel-http4 after update version from 2.20.2 to 2.25.1

2020-07-03 Thread Claus Ibsen
Hi That smells like you have mixed versions of Camel JARs on your classpath. Make sure your upgrade use only 1 version of Camel and its the same version. On Thu, May 28, 2020 at 7:36 AM Mikhail Lukyanov wrote: > Hello, everyone > > I updated the Camel version and ran into a problem with the

Re: Re: Camel to not lookup OSGi services when looking up a bean

2020-07-03 Thread Martin Lichtin
Yes that's the case currently. OsgiDefaultCamelContext updates the registry and inserts OsgiServiceRegistry as the first registry into the list. It would make more sense to keep the default Camel Bean registry at the head of this list. - Martin On 01.07.2020 11:48, Jean-Baptiste Onofre

Spring Boot Starters - how to use them

2020-07-03 Thread Corneliu Chitic
Hi, I've opened by mistake a Jira ticket for my question: https://issues.apache.org/jira/browse/CAMEL-15273 I need your help to understand better Claus's answer: * What is auto-configuration and how is this achieved versus using the camel-spring-boot-starter plus the regular components?

Spring Boot Starters - how to use them

2020-07-03 Thread Corneliu Chitic
Hi, I've opened by mistake a Jira ticket for my question: https://issues.apache.org/jira/browse/CAMEL-15273 I need your help to understand better Claus's answer: - What is auto-configuration and how is this achieved versus using the camel-spring-boot-starter plus the regular components? - I see

Bindy question about quoting

2020-07-03 Thread Mikael Andersson Wigander
Hi In Bindy when marshalling from object to CSV you can state that it should use “quoting” by two options: quote and quoting. But there’s a third in the factory: quotingEscaped How should this be interpreted in the context of the other two options? Also in the documentation there’s an

ApacheCon@Home

2020-07-03 Thread Zoran Regvart
Hi Cameleers, We are pleased to announce that ApacheCon 2020[1] will be held online, September 29th through October 1st, 2020. If you wish to present at the event please submit your talk proposal for the Camel/Integration track when at ApacheCon 2020 website no later than Monday, July 13th by