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

Claus Ibsen commented on CAMEL-7304:
------------------------------------

You can use wildcard, and do

interceptSendToEndpoint("sftp://hostname:22/testDirectory*";)

> InterceptSendToEndpoint does not work where uri needs to be normalized
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-7304
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7304
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.4
>         Environment: Windows, Linux
>            Reporter: Andre Piwoni
>            Priority: Minor
>
> interceptSendToEndpoint("sftp://hostname:22/testDirectory?privateKeyFile=/user/.ssh.id_rsa";)
>  is not intercepted because uri passed to InterceptSendToEndpointDefinition 
> is not normalized.
> As a result InterceptSendToEndpointDefinition createProcessor() method fails 
> to match EndpointHelper.matchEndpoint(routeContext.getCamelContext(), uri, 
> getUri()) and InterceptSendToEndpoint is not created.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to