Re: Developing Oracle Coherence 3.7 Camel Component - License problems

2011-08-03 Thread E.Gherardini
Hi, I finished the component and shared my code on google code. http://code.google.com/p/oracle-coherence-camel-component/ -- View this message in context: http://camel.465427.n5.nabble.com/Developing-Oracle-Coherence-3-7-Camel-Component-tp4618649p4662068.html Sent from the Camel Development m

Re: Developing Oracle Coherence 3.7 Camel Component - License problems

2011-07-28 Thread Richard Kettelerij
Not an answer but we discussed this topic (and your component) here: http://camel.465427.n5.nabble.com/DISCUSS-Components-relying-on-commercial-software-td4621208.html On Thu, Jul 28, 2011 at 12:36 PM, E.Gherardini wrote: > Hi all, > I almost finished writing the component. > > I need to write so

Re: Developing Oracle Coherence 3.7 Camel Component - License problems

2011-07-28 Thread E.Gherardini
Hi all, I almost finished writing the component. I need to write some more complete test (for which suggestions are welcome ;) ) and exposing some coherence-related parameters. My main concerns now regards licences. Oracle Coherence is not a free product, but we knew it. My code is based on the

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread ghepardo
Hi! Thanks for answering! I didn't choose the simplest component indeed ;) But the harder the better: I will learn more, thanks also to your patience and help ;) I will for sure come with new questions as they arise in my mind: I want to contribute in the best way possible. -- View this messag

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread Christian Müller
Hello Emanuele! It looks like you didn't choose a simple component as you first one... ;-) Don't hesitate to come back with further questions, if you have some. I think the SedaConsumer is a good starting point to look into [1]. [1] https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/main

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread Claus Ibsen
On Tue, Jul 26, 2011 at 5:22 PM, ghepardo wrote: > Hi, > thanks for answering. > > My main concern is this: > in coherence, to listen for a message, I have a blocking call > (subscription.getMessage()). > > I cannot invoke this call inside the overridden doStart() or start() > methods, because, to

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread ghepardo
Hi, thanks for answering. My main concern is this: in coherence, to listen for a message, I have a blocking call (subscription.getMessage()). I cannot invoke this call inside the overridden doStart() or start() methods, because, to my knowledge, these would block camel. The only way I found is t

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread Claus Ibsen
On Tue, Jul 26, 2011 at 2:59 PM, Richard Kettelerij wrote: > Hi ghepardo, > > It's advisable to use the ExecuterServiceStrategy instead of starting your > own thread, see http://camel.apache.org/threading-model.html. That way your > component is ready for containers that don't support unmanaged th

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread Richard Kettelerij
Hi ghepardo, It's advisable to use the ExecuterServiceStrategy instead of starting your own thread, see http://camel.apache.org/threading-model.html. That way your component is ready for containers that don't support unmanaged threads (like AppEngine or something like Websphere). Futhermore since

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread ghepardo
Hi, thanks for answering. I already went throught that pages. I will make my question more specific. Here is the code of my simple consumer: " public class CoherenceQueueConsumer extends DefaultConsumer implements Runnable { private final CoherenceQueueEndpoint queueEndpoint;

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-26 Thread Christian Müller
Hello Emanuele! We have a page which covers the Apache Camel architecture and the life cycle [1]. This page also contains links to other useful pages. As Claus already mentioned, we have a page with guides you to the process of adding a new component [2]. If you have concrete questions how you sho

RE: Developing Oracle Coherence 3.7 Camel Component

2011-07-25 Thread ghepardo
I contribute. Thanks, Emanuele Gherardini Date: Thu, 21 Jul 2011 05:56:48 -0700 From: ml-node+4619310-2043751961-233...@n5.nabble.com To: e.gherard...@hotmail.com Subject: Re: Developing Oracle Coherence 3.7 Camel Component Correction: I meant camel-cache (not camel-ehcache). On Thu,

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-21 Thread Richard Kettelerij
Correction: I meant camel-cache (not camel-ehcache). On Thu, Jul 21, 2011 at 2:54 PM, Richard Kettelerij < richardkettele...@gmail.com> wrote: > Hi, > > You may want to take a look at camel-ehcache, since Coherence shares many > similarities with EHCache. Otherwise just take a look at a few compo

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-21 Thread Richard Kettelerij
Hi, You may want to take a look at camel-ehcache, since Coherence shares many similarities with EHCache. Otherwise just take a look at a few components to get a feeling how these are organized (classes like endpoint, producer, consumer, configuration, etc). Regards, Richard On Thu, Jul 21, 2011

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-21 Thread ghepardo
Thanks a lot for answering Claus. I meant, and if you have time to suggest, is there any component I should particularry take as example, to avoid doing common mistakes ? Thanks again, Emanuele -- View this message in context: http://camel.465427.n5.nabble.com/Developing-Oracle-Coherence-3-7-C

Re: Developing Oracle Coherence 3.7 Camel Component

2011-07-21 Thread Claus Ibsen
Hi On Thu, Jul 21, 2011 at 11:09 AM, ghepardo wrote: > Hi, > I am starting developing an Oracle Coherence Camel Component (that I am > intentioned to donate), that will support Topics and Queues. > Ah cool. > I would like to ask you some advices, if there is some component more than > other to

Developing Oracle Coherence 3.7 Camel Component

2011-07-21 Thread ghepardo
Hi, I am starting developing an Oracle Coherence Camel Component (that I am intentioned to donate), that will support Topics and Queues. I would like to ask you some advices, if there is some component more than other to look at. Thanks a lot to everyone answering, Emanuele. -- View this messag