Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9030

The instructions for camel-example-box-osgi are incorrect

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.2
    • Fix Version/s: None
    • Component/s: examples
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

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

      3) Create a `box.properties` file in the Karaf working directory with the following properties set to your box account credentials.

      However, the camel-context.xml file sets up the PropertyPlaceholderConfigurer locations property to look for the "box.com.properties" file instead.

      <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>
      

        Attachments

          Activity

            People

            • Assignee:
              trohovsky Tomas Rohovsky
              Reporter:
              trohovsky Tomas Rohovsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: