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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.2
    • None
    • examples
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: