Hi, Did you get any answers to your question? I'm no expert on the subject, but the one time I tried using the RemoteServiceMixClient, I received a warning that you must call init() first. There also seems to be a method called start() which makes a call to init(). You might want to try using one of these methods.
Tim. -----Original Message----- From: Anand K Kalyanasundaram [mailto:[EMAIL PROTECTED] Sent: Sunday, July 16, 2006 6:31 PM To: [email protected] Subject: RemoteServiceMixClient usage Hi, I am trying to create a remote client to the servicemix JBI container. Is org.apache.servicemix.client.RemoteServiceMixClient the way to do it? I tried the following piece of code: protected static ServiceMixClient getClient() throws Exception { return new RemoteServiceMixClient("rmi://localhost:1099/jmxrmi"); } public static void main(String args[]) throws Exception { ServiceMixClient smc=getClient(); ComponentContext componentContext=smc.getContext(); // Component context returned is null!!!! } I get a null for the component context. I would appreciate any pointers or code samples for this. Thanks. Anand
