RE: Mime Multipart DataFormat+ HTTP4 (POST)

2019-09-26 Thread Shultz, Dmitry
In case anybody stumble upon the same thing, here is how I did it (not using Multipart Dataformat): ... .bean(UploadBean.class, "createMultipartEntity") ... public HttpEntity createMultipartEntity(@ExchangeProperty("invoice") String invoice, @ExchangeProperty("orderId") String orderId) {

OGNL access issue for private fields in package scope abstract class

2019-09-26 Thread Thorsten Kunz
Hi all, I was just debugging an issue that I am not sure if it is a bug or not. Lets assume the following to classes: package test.dto; abstract class A { private String privA; public String getPrivA() { return privA; } } package test.dto; public class B extends A { private String

Run camel endpoint on localhost server

2019-09-26 Thread Kirti Arora
Hi All, I'm new to Camel. I want to run camel endpoint on localhost so that any other program can use the hostname url from requestBody() method and get the results defined in that route. Please guide me for this. Thanks

AW: Email to dead letter channel

2019-09-26 Thread Thomas.Thiele
Thank you, Giovanni. This works. Maybe you can give me a hint how to deal with the same approach when splitting. Pseudocode errorHandler(deadLetterChannel(String.format("file://dead")).useOriginalMessage()); from (in).split() .choice() .when (type == 0)

Re: TimeoutAwareAggregationStrategies

2019-09-26 Thread Claus Ibsen
Hi These features are in AggregationStrategy where it has default methods, so you can just use this interface. On Thu, Sep 26, 2019 at 11:25 AM Sören G wrote: > > Hello, > > I'm trying to upgrade apache camel from 2.20.2 to 3.0.0-RC1 and follow this > Migration-Guide: >

TimeoutAwareAggregationStrategies

2019-09-26 Thread Sören G
Hello, I'm trying to upgrade apache camel from 2.20.2 to 3.0.0-RC1 and follow this Migration-Guide: https://camel.apache.org/manual/latest/camel-3-migration-guide.html . Now I'm struggling to find any information about the TimeoutAwareAggregationStrategies Interface. Will it be available on a

[ANNOUNCEMENT] Apache Camel Quarkus 0.2.0 released

2019-09-26 Thread Andrea Cosentino
The Camel community announces the immediate availability of Camel Quarkus 0.2.0. The artifacts are published and ready for you to download either from the Apache mirrors or from the Github repository. For more details you can have a look  at the github repository [1] Many thanks to all who made

RE: EndpointHelper.matchEndpoint doesn't normalize the pattern parameter

2019-09-26 Thread Stig Døssing
Thanks, will do. -Original Message- From: Claus Ibsen Sent: 26. september 2019 09:52 To: users@camel.apache.org Subject: Re: EndpointHelper.matchEndpoint doesn't normalize the pattern parameter Hi Yeah it sounds like a good idea to try to normalize the pattern if it resemble an uri

Re: EndpointHelper.matchEndpoint doesn't normalize the pattern parameter

2019-09-26 Thread Claus Ibsen
Hi Yeah it sounds like a good idea to try to normalize the pattern if it resemble an uri pattern with query parameters, eg check for ? sign etc. You are welcome to log a JIRA and work on a PR On Thu, Sep 26, 2019 at 9:15 AM Stig Døssing wrote: > > Hi Claus, > > I don't need to match on the

RE: EndpointHelper.matchEndpoint doesn't normalize the pattern parameter

2019-09-26 Thread Stig Døssing
Hi Claus, I don't need to match on the query parameters, and your workaround is fine. My code happened to try to match the query parameters, since I have the endpoint URI in a constant that I use in both the test and the route definition. I think it's pretty surprising that you can put the

Re: EndpointHelper.matchEndpoint doesn't normalize the pattern parameter

2019-09-26 Thread Claus Ibsen
Hi Its a pattern and not an endpoint uri, eg you can use sjms* to match all jsms components etc. Why do you want to match on the query parameters, why not just say sjms2://queue:my-queue-name* On Thu, Sep 26, 2019 at 7:43 AM Stig Døssing wrote: > > Hi, > > I'm trying to use NotifyBuilder for