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

Romain Manni-Bucau commented on CAMEL-5649:
-------------------------------------------

public class VetoExtension implements Extension
{
    protected void vetoInternalsBean(@Observes ProcessAnnotatedType<Object> 
processAnnotatedType)
    {
        Class beanClass = 
processAnnotatedType.getAnnotatedType().getJavaClass();
        if(BuilderSupport.class.isAssignableFrom(beanClass))
        {
            processAnnotatedType.veto();
        }
    }
}
                
> Add no args constructor to Builder support class which is required by CDI
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5649
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5649
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Charles Moulliard
>            Assignee: Charles Moulliard
>
> JBoss Weld complaints that "org.apache.Camel.builder.BuilderSupport" is not 
> proxyable as there is no by default constructor with no args. 
> "WELD-001435 Normal scoped bean class org.apache.camel.builder.BuilderSupport 
> is not proxyable because it has no no-args constructor "

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to