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

Claus Ibsen commented on CAMEL-5505:
------------------------------------

Ad 5)
This is not possible. There is no xxxRef option.

For example adjusting the unit test from this ticket
{code}
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve 
endpoint: 
xslt://org/apache/camel/component/xslt/include_not_existing_resource.xsl?uriResolverRef=customURIResolver
 due to: There are 1 parameters that couldn't be set on the endpoint. Check the 
uri if the parameters are spelt correctly and that they are properties of the 
endpoint. Unknown parameters=[{uriResolverRef=customURIResolver}]
        at 
org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:148)
{code}
                
> Unable to customize URIResolver in xslt component
> -------------------------------------------------
>
>                 Key: CAMEL-5505
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5505
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.0, 2.11.0
>            Reporter: Alexander Titov
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>              Labels: camel-core,, test, xslt
>         Attachments: camel-core-xslt-CustomURIResolver-checkstyle.patch, 
> camel-core-xslt-CustomURIResolver.patch
>
>
> In xslt component we can't customize uriResolver For instance in route with 
> uri 
> "xslt:org/apache/camel/component/xslt/include_not_existing_resource.xsl?uriResolver=#customURIResolver"
>  camel still uses default XsltUriResolver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to