[ 
https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800607#comment-13800607
 ] 

Sergey Beryozkin commented on CXF-5309:
---------------------------------------

Hi Andriy

I think it is looking really good, thanks for spending your time on it. 

IMHO there's enough material now for me to start working on applying the patch. 
I may not be able to do it this week as I'm taking few days off later in the 
week but I'll do it asap. In meantime please experiment with caching the 
metadata, when you get a chance.

FYI, I'm thinking of doing a couple of minor tweaks, one of them:

- In CXF we can figure out where the exception came from based on the analysis 
of the current message, example, if 
PhaseInterceptorChain.getCurrentMessage().getExchange().getOutMessage() is null 
then the exception came from the inbound chain, otherwise from the outbound 
one, thus it can help us avoid introducing a pair of CXF specific validation 
exceptions. This is a very minor simplification really.

It all looks fine, we can now see how it all can be wired in, nice work, thanks 
:-)


> Support Bean Validation API for JAX-RS
> --------------------------------------
>
>                 Key: CXF-5309
>                 URL: https://issues.apache.org/jira/browse/CXF-5309
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-RS, JAX-WS Runtime
>            Reporter: Sergey Beryozkin
>         Attachments: patch-validation-poc.txt
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to