Uploaded image for project: 'Forge: Jansi'
  1. Forge: Jansi
  2. JANSI-22

How can we access a properties file from deploy folder inside a bundle

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Labels:
      None

      Description

      I have one properties file in /opt/iona/apache-servicemix-4.2.0-fuse-01-00/deploy folder and
      I am trying to access that file inside my bundle as follows in the camel-context.xml file

      <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
      <property name="location" value="classpath:my-client.properties" />
      </bean>

      When I tried to deploy this bundle in OSGI container, deployment is failing as it is unable to find this my-client.properties file.

      How can we access a properties file from deploy folder inside a bundle

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                socallag Sean O'Callaghan
                Reporter:
                usha11 usha kanteti
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: