Thanks Claus, I'm still puzzled though. 

This is what I see in the migration doc 
(https://github.com/apache/camel/blob/master/MIGRATION.md):

'The mock component has been moved out of camel-core and as part of this work, 
we had to remove a number of methods on its assertion clause builder that were 
seldom in use. Also we had to remove a few methods on NotifyBuilder that were 
using the mock component.'

I'm working on the project right now that uses these NotifyBuilder  deprecated 
methods (I found them quite powerful). Is there a chance that this section will 
be extended to include some replacement related info when time to migrate comes?

Cheers,
Dmitry


-----Original Message-----
From: Claus Ibsen [mailto:claus.ib...@gmail.com] 
Sent: Friday, July 5, 2019 10:39 AM
To: users@camel.apache.org
Subject: Re: NotifyBuilder.whenDoneSatisfied(Mock) deprecated

Hi

Ah okay yeah all the mock stuff has been deprecated and its removed in Camel 3.
Some of the other deprecated stuff we have added hints in javadoc what else to 
use.
Also see the migration guide for Camel 3 etc.

On Fri, Jul 5, 2019 at 6:44 PM Shultz, Dmitry <dmitry_shu...@kaltire.com> wrote:
>
> Claus,
>
> I'm looking at the 2.24.1 code of NotifyBuilder.whenDoneSatisfied()  and 
> whenReceivedSatisfied() - can't see no Javadoc related to deprecation, sorry.
>
> Cheers,
> Dmitry
>
>
>
> -----Original Message-----
> From: Claus Ibsen [mailto:claus.ib...@gmail.com]
> Sent: Thursday, July 4, 2019 8:24 PM
> To: users@camel.apache.org
> Subject: Re: NotifyBuilder.whenDoneSatisfied(Mock) deprecated
>
> 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 <dmitry_shu...@kaltire.com> 
> wrote:
> >
> > 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
>
>
>
> --
> Claus Ibsen
> -----------------
> https://urldefense.proofpoint.com/v2/url?u=http-3A__davsclaus.com&d=Dw
> IBaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQB0sodMSERn
> X0MWo&m=6PqvPYviZK7IL-0ZDbZJMSXcghqP9UtsPN2SGK_8_LQ&s=ZdC_-GuFgH7Oh3SH
> AByYwL81d_IZpwzOi8RNHgJHLbM&e=  @davsclaus Camel in Action 2: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.manning.com_i
> bsen2&d=DwIBaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQ
> B0sodMSERnX0MWo&m=6PqvPYviZK7IL-0ZDbZJMSXcghqP9UtsPN2SGK_8_LQ&s=enxpmx
> iuzpVxfE1wq3nnR0o_sfKJKqQy-bR6dI8OVVQ&e=



--
Claus Ibsen
-----------------
https://urldefense.proofpoint.com/v2/url?u=http-3A__davsclaus.com&d=DwIFaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQB0sodMSERnX0MWo&m=qFxaNeGLErMZbGe5wAdcoxDiucoMCq1yt0evEGjZotk&s=72Np2Ues70No2sRckFK96QJIl_IsdV5_GsJAWatVnaw&e=
  @davsclaus Camel in Action 2: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.manning.com_ibsen2&d=DwIFaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQB0sodMSERnX0MWo&m=qFxaNeGLErMZbGe5wAdcoxDiucoMCq1yt0evEGjZotk&s=kbF9Xc8_N_y04d5QrJZV9jJP3EcnXQMQUWf-m-n7nAY&e=
 

Reply via email to