You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tomas Rohovsky (JIRA)" <ji...@apache.org> on 2015/07/28 19:35:05 UTC

[jira] [Created] (CAMEL-9030) The instructions for camel-example-box-osgi are incorrect

Tomas Rohovsky created CAMEL-9030:
-------------------------------------

             Summary: The instructions for camel-example-box-osgi are incorrect
                 Key: CAMEL-9030
                 URL: https://issues.apache.org/jira/browse/CAMEL-9030
             Project: Camel
          Issue Type: Bug
          Components: examples
    Affects Versions: 2.15.2
            Reporter: Tomas Rohovsky


Step 3 in the example's instructions reads as follows:

{quote}
3) Create a `box.properties` file in the Karaf working directory with the following properties set to your box account credentials.
{quote}
However, the camel-context.xml file sets up the PropertyPlaceholderConfigurer locations property to look for the "box.com.properties" file instead.

{code:xml}
<bean id="placeholder" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
   <property name="locations">
      <list>
        <value>file:box.com.properties</value>
      </list>
   </property>
   <property name="ignoreResourceNotFound" value="true" />
   <property name="searchSystemEnvironment" value="true" />
   <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
</bean>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)