-
1. Re: OSGi JBossESB remote client
blep Sep 7, 2009 10:59 AM (in response to blep)OK
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:System.setProperty(Environment.PROPERTIES_FILE, "abs://c:/myfile.xml");
-
2. Re: OSGi JBossESB remote client
rmolin Sep 10, 2009 6:14 AM (in response to blep)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
/Rune -
3. Re: OSGi JBossESB remote client
kconner Sep 10, 2009 6:26 AM (in response to blep)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.
Kev -
4. Re: OSGi JBossESB remote client
blep Sep 10, 2009 7:36 AM (in response to blep)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!