NotifyBuilder.whenDoneSatisfied(Mock) deprecated

2019-07-04 Thread Shultz, Dmitry
Hi there, There are several methods in NotifyBuilder got deprecated (all receiving Mock as a parameter). Besides, the fact that these are quite useful methods I can't find any info about why they are deprecated and what to use as a replacement. Cheers, Dmitry

Rename File name before Aggregation

2019-07-04 Thread Bikash Kaushik
Hi, I'm consuming file from a location after that I have to compress all files in a zip. For compressing I'm using ZipAggregatorStrategy in aggregate. I want to change consumed file name before aggregating it and that changed filename should be compressed. -- *Regards,* *Bikash Kaushik,*

Re: NotifyBuilder.whenDoneSatisfied(Mock) deprecated

2019-07-04 Thread Claus Ibsen
Hi They are deprecated in preparation for Camel 3. See the javadoc of that method which points to what else to use On Fri, Jul 5, 2019 at 1:13 AM Shultz, Dmitry wrote: > > Hi there, > > There are several methods in NotifyBuilder got deprecated (all receiving Mock > as a parameter). Besides, the

Re: Rename File name before Aggregation

2019-07-04 Thread Claus Ibsen
Hi You can do 2 routes from file a to file b from file b aggregate On Fri, Jul 5, 2019 at 4:43 AM Bikash Kaushik wrote: > > Hi, > I'm consuming file from a location after that I have to compress all files > in a zip. > For compressing I'm using ZipAggregatorStrategy in aggregate. > > I want to