After reading com.arjuna.common.util.FileLocator source code, I saw that if the System property org.jboss.soa.esb.propertyFile is preffixed by abs://, then the file is looked up through out the file system:
I've been through all that:
I'm writing a Eclipse RCP application which interfaces with JBoss ESB for all backend services. I started out thinking it was better to use the ServiceInvoker class, but after the horrors of getting all jars included (with proper OSGi dependencies), getting all configuration files in place and then witnessing how slow and bloated it was, I resorted to invoking services using simple http, socket or perhaps JMS gateways.
My advice to you is that you give serious thoughts to doing the same
Agreed, it is currently better to access the ESB through a gateway if the code is not executing within the ESB server.
This is one of the issues that we aim to address with the rewrite.
Of course... I'll remember the advice...
One goal was to reuse an existing component which was directly connected to the ESB, so I did not think about the GWs!