camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (JIRA)" <>
Subject [jira] [Commented] (CAMEL-5505) Unable to customize URIResolver in xslt component
Date Wed, 15 Aug 2012 13:38:38 GMT


Hadrian Zbarcea commented on CAMEL-5505:


This is a discussion we'll have (again) on dev@. But to give you a couple of short answers
1. There was absolutely no attention given to non-trivial configuration options 4+ years ago.
That slowly slipped into the current situation. No one to blame but ourselves.
2. You yourself give an example in which a '#' is not present (ref="myCustomUriResolver")
3. When using the XML dsl, no one would argue about the need to encode to make the xml valid,
yet in the URI case some seem to argue that there can be a gray area.
4. The Camel in Action book states that "In Camel, you configure endpoints using URIs", which
as we now know, is not quite correct. The Camel api uses the term URI all over the place (getEndpointUri()),
but that's not a (String representation of a) URI.
5. You seem to imply that the only alternative is to put Java code in the URI, bulking up
that ridiculous notion with the fact that the Camel URIs are badly designed, probably in an
attempt to dismiss both. 

If you were fair, you would have said that you can do either of:

But as I said, I am waiting for the days when we'll be able to have a decent discussion and
solution to fix this mess on dev@. I am patient. That's the last thing I'll say on the topic
in this jira.
> Unable to customize URIResolver in xslt component
> -------------------------------------------------
>                 Key: CAMEL-5505
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


View raw message