Here it is https://issues.apache.org/jira/browse/CAMEL-13730

Cheers,
Dmitry


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

On Fri, Jul 5, 2019 at 8:15 PM Shultz, Dmitry <dmitry_shu...@kaltire.com> wrote:
>
> Thanks Claus, I'm still puzzled though.
>
> This is what I see in the migration doc 
> (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_camel_blob_master_MIGRATION.md&d=DwIFaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQB0sodMSERnX0MWo&m=b9OC7rkaR8h77jwflBCWTW7YEg-4Zzdn9vn3kGSk72A&s=-xn7azzmz3ynvxqv0pY8ngqF6J6lJoDAjh3JOhjBBVc&e=
>  ):
>
> '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?
>

Hi

Well we can take a look at adding some kind of SPI interface that advice with 
can use and then mock implement that.
And then potentially other components can be used too (in theory).

For a starter you should log a JIRA ticket

> 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=t6OzuNuL86YgAzDSNmWJog3VjIcQB0sodMSE
> > Rn 
> > X0MWo&m=6PqvPYviZK7IL-0ZDbZJMSXcghqP9UtsPN2SGK_8_LQ&s=ZdC_-GuFgH7Oh3
> > SH 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=t6OzuNuL86YgAzDSNmWJog3VjI
> > cQ 
> > B0sodMSERnX0MWo&m=6PqvPYviZK7IL-0ZDbZJMSXcghqP9UtsPN2SGK_8_LQ&s=enxp
> > mx iuzpVxfE1wq3nnR0o_sfKJKqQy-bR6dI8OVVQ&e=
>
>
>
> --
> Claus Ibsen
> -----------------
> https://urldefense.proofpoint.com/v2/url?u=http-3A__davsclaus.com&d=Dw
> IFaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQB0sodMSERn
> X0MWo&m=qFxaNeGLErMZbGe5wAdcoxDiucoMCq1yt0evEGjZotk&s=72Np2Ues70No2sRc
> kFK96QJIl_IsdV5_GsJAWatVnaw&e=  @davsclaus Camel in Action 2: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.manning.com_i
> bsen2&d=DwIFaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQ
> B0sodMSERnX0MWo&m=qFxaNeGLErMZbGe5wAdcoxDiucoMCq1yt0evEGjZotk&s=kbF9Xc
> 8_N_y04d5QrJZV9jJP3EcnXQMQUWf-m-n7nAY&e=



--
Claus Ibsen
-----------------
https://urldefense.proofpoint.com/v2/url?u=http-3A__davsclaus.com&d=DwIFaQ&c=KMGz4T0TsfsPtvlb4OD1oA&r=t6OzuNuL86YgAzDSNmWJog3VjIcQB0sodMSERnX0MWo&m=b9OC7rkaR8h77jwflBCWTW7YEg-4Zzdn9vn3kGSk72A&s=8uXJaoXaJDTllDPavf44jj8r0ngJtv69Wc8XEMrClfo&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=b9OC7rkaR8h77jwflBCWTW7YEg-4Zzdn9vn3kGSk72A&s=92oIN6Qi4vR6gD5gtk4e5EFQ1kW2_nQYdzGhTQOYuVQ&e=
 

Reply via email to