The relative path is resolved at CDK level. The problem is that CDK does not know where the file `server.properties` is stored. So to be able to resolve the relative path:
- we could kept the env var PETALS_HOME, but for all containers running on a same machine, properties file could be mixed,
- I think it should be better to extends the JBI API to be able to retrieve few JBI container configuration properties. The JBI API to extends will be javax.jbi.component.ComponentContext introducing the following method:
Properties getContainerConfigurationProperties()
As the JBI API will be changed, this issue is planned for the next major release.
PETAL_HOME was removed in a previous version of Petals ESB. Now, Petals container must resolved relative path against the directory of 'server.properties'.