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

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

The # is documented here
http://camel.apache.org/configuring-camel.html

And its a general idiom to refer to beans, such as Alex mention above. How can 
you configure a non trivial option? You cannot say for example:
{code}
?uriResolver=new MyCustomUriResolver()&bla=123
{code}

The # is similar to the "ref" attribute in Spring Bean style configuration
{code:xml}
<bean id="myXsltEndpoint" class="...">
  <property name="uriResolver" ref="myCustomUriResolver"/>
  ...
{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.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