Hi,
I'm trying to upgrade from Camel 2.9.3 to 2.15.2.
The route is very simple:
from(endpointInput)
.routeId("MyRoute")
.process(myProcessor)
.to(endpointOutput);
where endpointOutput =
"myEndpoint:fail:string:file_name?expression=${file:onlyname}"
myEndpoint is defined as a subclass of DefaultEndpoint.
With Camel 2.9.3 it works fine, but as soon as I upgrade to 2.15.2 I'm
getting the error below.
Now I understand that the dollar sign shouldn't be used in a URI, but how
comes it is working fine with Camel 2.9.3?
java.net.URISyntaxException: Illegal character in opaque part at index 45:
myEndpoint:fail:string:file_name?expression=${file:onlyname}
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at
org.apache.camel.util.EndpointHelper.resolveExchangePatternFromUrl(EndpointHelper.java:501)
at
org.apache.camel.processor.SendProcessor.<init>(SendProcessor.java:72)
... 30 more
--
View this message in context:
http://camel.465427.n5.nabble.com/Endpoint-issue-when-upgrading-to-Camel-2-15-2-dollar-sign-in-URI-tp5768358.html
Sent from the Camel - Users mailing list archive at Nabble.com.