[
https://issues.apache.org/jira/browse/CAMEL-8427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345851#comment-14345851
]
ASF GitHub Bot commented on CAMEL-8427:
---------------------------------------
GitHub user shreyaspurohit opened a pull request:
https://github.com/apache/camel/pull/418
CAMEL-8427 Publish scala test jar to expose ScalaTestSupport
@davsclaus
ScalaTestSupport needs to be published so that others can depend on test
jar for camel-scala and access this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shreyaspurohit/camel CAMEL-8427
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/418.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #418
----
commit 93117a1b2800cfcfffbf99aea230e1a245a6729c
Author: Shreyas Purohit <[email protected]>
Date: 2015-03-03T21:47:03Z
CAMEL-8427 Publish scala test jar to expose ScalaTestSupport
----
> camel-scala - Testing with useOverridePropertiesWithPropertiesComponent issue
> -----------------------------------------------------------------------------
>
> Key: CAMEL-8427
> URL: https://issues.apache.org/jira/browse/CAMEL-8427
> 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: 2_15_SNAPSHOT.zip
>
>
> 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
> org.apache.camel.component.properties.DefaultPropertiesParser$ParsingContext.getPropertyValue(DefaultPropertiesParser.java:268)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)