Hi Bill If we create/initialize your own ResteasyProviderFactory, what will be the scope of provider? Will it be request or application scope?
As per our observation, it is application scope and which is causing problems to other clients. Thanks A.P. Rajshekhar ----- Original Message ----- From: "Rajshekhar AndalaPisharam" <randa...@redhat.com> To: resteasy-users@lists.sourceforge.net Sent: Wednesday, September 4, 2013 1:02:19 PM Subject: Re: [Resteasy-users] Restricting json custom provider to a particular client Hi Bill Thanks for your suggestion. We are using Resteasy 2.3.x. We will get back to you once we check this out. Regards A.P. Rajshekhar -------- Original Message -------- Subject: Re: [Resteasy-users] Restricting json custom provider to a particular client Date: Thu, 29 Aug 2013 09:42:27 -0400 From: Bill Burke <bbu...@redhat.com> To: resteasy-users@lists.sourceforge.net Not sure what you mean. Which client api are you using? Resteasy 2.3.x or JAX-RS 2.0 in Resteasy 3.0? In the former, you can create/initialize your own ResteasyProviderFactory. In the latter, this automatically happens per Client you create. On 8/29/2013 9:16 AM, Rajshekhar AndalaPisharam wrote: > Hi Bill, > > We are using jacksonJsonProvider to consume and produce json data in > underscore format. > > However when we are trying to integrate with 3rd party systems our > custom provider is getting called and > causing exceptions as 3rd party does not need underscore format. > > Is there a way to restrict the custom provider to particular client ? > > Thanks > > A.P. Rajshekhar > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users