Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: JANSI-22
Type: Support Request Support Request
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Sean O'Callaghan
Reporter: usha kanteti
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forge: Jansi

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

Created: 02/Jun/10 02:16 PM   Updated: 03/Jun/10 08:50 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
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



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Sean O'Callaghan made changes - 03/Jun/10 08:26 AM
Field Original Value New Value
Assignee Sean O'Callaghan [ seanoc ]
Sean O'Callaghan made changes - 03/Jun/10 08:50 AM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]