[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ecf] Re: Can ecf.provider.jms support Cola/DocShare?

Hi Aaron,

Aaron Yu wrote:
Hi, I have read a documentation (http://www.eclipse.org/ecf/documentation.php#Instance%20Creation), and it says that org.eclipse.ecf.provider.jms.activemq plugin supports Shared Object, Datashare and Remote Services APIs. Does it support to run the COLA/DocShare?

It can, because DocShare uses the datashare API.

If so, is there a wiki I can follow to run?

Actually, the way docshare works now is that if an IContainer is connected, and the IContainer supports/has a IChannelContainerAdapter, then docshare is started for that container/connection (since all docshare requires is the datashare api. So in effect, what I'm saying is that if a jms container were to be connected, then docshare would be started just by that happening. See the class org.eclipse.ecf.internal.docshare.ECFStart in docshare plugin.


The current docshare user interface (the editor context menu), however, depends upon having the provider support the presence API...since the user presence is used to get the ID of the target for the shared editing (i.e. the receiver). So even though the docshare functionality is there (as per previous paragraph), there's no way to initiate a shared editing session in the UI (as yet).

One thing I should let you know...as per this bug/enhancement request

https://bugs.eclipse.org/bugs/show_bug.cgi?id=234142

we are in the process of refactoring docshare to move the synchronization/cola parts to a separate plugin (a new API plugin called org.eclipse.ecf.sync for the sync API). This API (with cola implementation underneath) provides access to a 'synchronization strategy' that can be used by other apps for synchronizing document changes (i.e. other than docshare). Right now, Marcelo Mayworm is working on changing over the docshare app to use this synchronization strategy API.


I
have installed the jms provider in my eclipse, but I don't know how to use it with COLA.
In addition, does ecf.provider.jms only support ActiveMQ? Is it compatible with IBM MQ?

It's my understanding that IBM Websphere Community Edition is actually ActiveMQ...although I don't know what version of ActiveMQ the IBM Websphere Community Edition actually uses. But I believe they should be compatible (but again I'm not certain of that).


Sure. I apologize for all the trouble (e.g. the no user interface for providers that support datashare but not presence API). But with your help we will get you going with cola/docshare, etc. :)

Thanks,

Scott

Thank you!