You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by David Karlsen <da...@gmail.com> on 2019/08/21 10:50:02 UTC

Disable bean-validation feature for one given resource

Hi.

I want to have jax-rs beanvalidation in use generally, but to disable it
for one given jax-rs client (a rotten backend service that i call) - is
this possible? For instance by passing a property to the
JaxRsClientFactoryBean?

-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

RE: Disable bean-validation feature for one given resource

Posted by Andrei Shakirin <as...@talend.com.INVALID>.
Hi David,

Yes, you can activate org.apache.cxf.validation.BeanValidationFeature for dedicated endpoint / client only.

Regards,
Andrei.

-----Original Message-----
From: David Karlsen <da...@gmail.com>
Sent: Mittwoch, 21. August 2019 12:50
To: users@cxf.apache.org
Subject: Disable bean-validation feature for one given resource


Warning! External email. Exercise caution when opening attachments or clicking any links.


Hi.



I want to have jax-rs beanvalidation in use generally, but to disable it

for one given jax-rs client (a rotten backend service that i call) - is

this possible? For instance by passing a property to the

JaxRsClientFactoryBean?



--

--

David J. M. Karlsen - https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_davidkarlsen&d=DwIBaQ&c=2w5q_42kFG40MI2alLPgJw&r=bWOqkHjIZE0sZtdpFMIhm-lcbhtB3cv08OlIr0lkKR4&m=SNSvWeLrEll2OMFIO9VF2jM63ga3xwe7sRiLXN802w0&s=zmKpyJ8AsY64fuQjmdjNaIFmPh-yAN2tI9pjO35UaVg&e=

As a recipient of an email from Talend, your contact personal data will be on our systems. Please see our contacts privacy notice at Talend, Inc. <https://www.talend.com/contacts-privacy-policy/>