How to access XML resources within a profile using Profile URL handler
Issue
We are using Fuse 6.3.0. We are trying to add XML resource files to a profile and access it in a Processor to convert them as JAXB objects and use for validation purposes. I understand that we cannot use Zookeeper URL handler to read profiles' resources as in 6.0.0 anymore in 6.3.0. I have added XML resource files to the profile successfully but unable to access it using the Profile URL handler. We have a ".properties" configuration file where I am reading a property "configResource" using the following values. The "configResource" is defined as type Object in a bean. However, none of these worked.
configResource=profile\:input.xml --> The value 'profile\:input.xml' is returned as String
configResource=${profile\:input.xml} --> The value is returned as empty String
configResource=${profile:input.xml} --> The value is returned as empty String
Environment
- JBoss Fuse
- 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.