On 7/25/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
It seems that remoting a jmx client is not so easy.
All classes involved must be serializable or mbeans i think.
And this is not the case at all (the client has a pointer to the container,
the DefaultDestination has a pointer to the client, etc..)
So if we want to go that way, we have to provide wrapper for all
non serializable classes involved in the client api.

So i will let the remote stuff aside for the moment.
It makes me thing that the first draft of the client api James put
in svn was simpler and easier use in a remote mode.
http://incubator.apache.org/servicemix/maven/servicemix-core/apidocs/org/apache/servicemix/client/Client.html
http://incubator.apache.org/servicemix/maven/servicemix-core/apidocs/org/apache/servicemix/client/Destination.html

Should we revert back to it ?

I guess we could. We could make ServiceMixClient extend Client as an interface.

We could maybe have a client side version of Destination which is
really just a facade on a ServiceMixClient interface? So keep, say,
ServiceMixClient remote and have a client side facade using it to give
the nice URI style API
--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to