Re: .process vs .to(bean: ?

2021-09-10 Thread Mark Nuttall
Yeah. That seems better. I wish the rest component supported to On Friday, September 10, 2021, Steve Huston wrote: > You could also use something like cxfrs to do the REST call and have it > unmarshal your JSON return. > That would make it easier to integrate with Mark's idea to use Camel's > er

RE: .process vs .to(bean: ?

2021-09-10 Thread Steve Huston
You could also use something like cxfrs to do the REST call and have it unmarshal your JSON return. That would make it easier to integrate with Mark's idea to use Camel's error handling and retries. -Steve > -Original Message- > From: Mark Nuttall > Sent: Friday, September 10, 2021 3:5

Re: .process vs .to(bean: ?

2021-09-10 Thread Mark Nuttall
You should use the Camel Processing to do retries. Also, look at using something like OpenFeign to reduce the boilerplate HTTP call. It can be very few lines of code. or you should use the Camel HTTP component. On Fri, Sep 10, 2021 at 2:00 AM Matthee, Elmar [elm...@sun.ac.za] < elm...@sun.ac.za

Re: Camel QuickFix sessions start problem

2021-09-10 Thread Claus Ibsen
Hi Ah okay this is more of an advanced problem and you would need to do some custom coding or whatnot. The nature of this seems that quickfix should be improved to have independent configurations per session and then allow to only load the configuration for which session is being started. So at t