camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreyas Purohit (JIRA)" <>
Subject [jira] [Commented] (CAMEL-8427) camel-scala - Testing with useOverridePropertiesWithPropertiesComponent issue
Date Wed, 04 Mar 2015 05:30:04 GMT


Shreyas Purohit commented on CAMEL-8427:

uh oh.. then we have to create a new module to expose ScalaTestSupport.. I can do that.. But,
do you want me to submit another PR removing the publish code or would you revert the merge
some other way?

> camel-scala - Testing with useOverridePropertiesWithPropertiesComponent issue
> -----------------------------------------------------------------------------
>                 Key: CAMEL-8427
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-test
>    Affects Versions: 2.15.0
>            Reporter: Shreyas Purohit
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.15.0
>         Attachments:
> A very simple project has been attached. The SFTP route has some properties which are
being provided by using 'useOverridePropertiesWithPropertiesComponent' in CamelTestSupport.
The test used to work fine before the latest March 2nd snapshot. It works with 2.14.1 version
too. Now it fails with: 
> {code}
> Caused by: java.lang.IllegalArgumentException: PropertiesComponent with name properties
must be defined in CamelContext to support property placeholders. Property with key [sftp.userName]
not found in properties from text: sftp://{{sftp.userName}}@{{sftp.hostname}}{{sftp.folder}}?moveFailed={{sftp.moveFailedFolder}}&privateKeyFile={{sftp.privateKeyFile}}&privateKeyPassphrase={{sftp.privateKeyPassphrase}}&readLock=changed&readLockCheckInterval=10000&readLockTimeout=40000&streamDownload=true&fastExistsCheck=true&idempotent=true&useFixedDelay=true&delete=true&recursive=true&stepwise=false
> 	at$ParsingContext.getPropertyValue(
> {code}

This message was sent by Atlassian JIRA

View raw message