Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] RE: ecf-dev Digest, Vol 35, Issue 19

Scott,
Thanks for the reply, yes, if we can create a decent provider, will
definitely share the code. 
For the datashare API, I notice the difference is that it is actually
creating channels and sending bytes, but I think in our case, maybe it makes
more sense to send serializable objects, would that be using the remote
services API? We would be using the CallAsync() function call right?
Also, I think you mentioned that you can run the ActiveMQ in a standalone
mode with the IApplication, is there any documentation on how to go about
doing so?

Thanks,
Dicky Johan

-----Original Message-----
From: ecf-dev-bounces@xxxxxxxxxxx [mailto:ecf-dev-bounces@xxxxxxxxxxx] On
Behalf Of ecf-dev-request@xxxxxxxxxxx
Sent: Wednesday, June 25, 2008 11:00 PM
To: ecf-dev@xxxxxxxxxxx
Subject: ecf-dev Digest, Vol 35, Issue 19

Send ecf-dev mailing list submissions to
	ecf-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/ecf-dev
or, via email, send a message with subject or body 'help' to
	ecf-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	ecf-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ecf-dev digest..."


Today's Topics:

   1. sending messages over JMS (Dicky Johan)
   2. Re: sending messages over JMS (Scott Lewis)


----------------------------------------------------------------------

Message: 1
Date: Wed, 25 Jun 2008 00:47:46 +0800
From: "Dicky Johan" <dickyjohan@xxxxxxxxx>
Subject: [ecf-dev] sending messages over JMS
To: ecf-dev@xxxxxxxxxxx
Message-ID:
	<d68025350806240947s60320cfbnd8a302f74bb1f7f8@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
This ECF is really great stuff, but I am still a bit lost in all the
concepts. We are trying to send messages to different instant messenging
providers over JMS. I am assuming that ECF is designed in such a way that we
can connect to a JMS provider and send a message, of which itself will
connect to another ECF provider (in this case, the instant messenger), to
send out the message.
Unfortunately, I cannot find any sample code for me to get started on this.
I see a SharedObject concept, but how do everything tie together? What would
be great is if someone can show a sample of how to send a message to a ECF
provider via a JMS ECF provider. Does anyone have any clue on this?
I am also assuming that with the ECF provider concept, we can actually
create custom provider for SMS gateways and also SMTP gateways for emails,
right?

Regards,
Dicky Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://dev.eclipse.org/mailman/private/ecf-dev/attachments/20080624/d4c318f
6/attachment.html

------------------------------

Message: 2
Date: Tue, 24 Jun 2008 10:29:38 -0700
From: Scott Lewis <slewis@xxxxxxxxxxxxx>
Subject: Re: [ecf-dev] sending messages over JMS
To: "Eclipse Communication Framework (ECF) developer mailing list."
	<ecf-dev@xxxxxxxxxxx>
Message-ID: <48612F02.4040304@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Dicky,

Dicky Johan wrote:
> Hi,
> This ECF is really great stuff, but I am still a bit lost in all the 
> concepts. We are trying to send messages to different instant 
> messenging providers over JMS. I am assuming that ECF is designed in 
> such a way that we can connect to a JMS provider and send a message, 
> of which itself will connect to another ECF provider (in this case, 
> the instant messenger), to send out the message.
> Unfortunately, I cannot find any sample code for me to get started on 
> this. I see a SharedObject concept, but how do everything tie 
> together? What would be great is if someone can show a sample of how 
> to send a message to a ECF provider via a JMS ECF provider. Does 
> anyone have any clue on this?

Yes :).  There is/are test code for the JMS activemq and weblogic 
providers, these are on CVS server at http://ecf1.osuosl.org, in the 
tests module, in the

org.eclipse.ecf.tests.provider.jms
org.eclipse.ecf.tests.provider.jms.activemq
org.eclipse.ecf.tests.provider.jms.weblogic

test projects.

The test code that's there now basically tests running ECF remote 
services over the two JMS providers.  You would/will probably be more 
interested in using the ECF datashare API (an API for creating 
asynchronous messaging channels) although you might also be interested 
in remote services API.  If you are able/willing, we would love to have 
some additional tests of the JMS providers that extend the 
dev.eclipse.org:/cvsroot/technology/org.eclipse.ecf/tests/org.eclipse.ecf.te
sts.datashare 
test plugin...but we don't yet have that...sorry.  On the up side, the 
datashare API should be already supported with the JMS providers (as 
both datashare and remote services are based upon the shared object API).

I will answer any questions you have, and we can use this as an 
opportunity to document things further and create more example and test 
code.

> I am also assuming that with the ECF provider concept, we can actually 
> create custom provider for SMS gateways and also SMTP gateways for 
> emails, right?

Yes, of course.  In fact if you actually do this, I would encourage you 
to consider sharing the work with the ECF community.

You might be interested in the 'trivial provider' at
 
/cvsroot/technology/org.eclipse.ecf/examples/plugins/org.eclipse.ecf.example
s.provider.trivial

Here's the cvs browse link:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/examples/plugins/or
g.eclipse.ecf.examples.provider.trivial/?root=Technology_Project

Thanks,

Scott




------------------------------

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev


End of ecf-dev Digest, Vol 35, Issue 19
***************************************



Back to the top