You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by jkoppenhofer <jo...@koppedomain.com> on 2011/01/25 20:39:18 UTC
DOSGI local discovery question
I have a scenario where I would like to use local discovery (ie
remote-services.xml) but would like the local discovery to automatically
detect when an endpoint goes online or offline. From what I can tell, it
looks like local discovery only happens on startup of the consumer bundle.
Is there anyway to use local discovery to tell when a remote service is
started or stopped?
--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGI-local-discovery-question-tp3356839p3356839.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: DOSGI local discovery question
Posted by "phperret@gmail.com" <ph...@gmail.com>.
Hi,
I suppose with a discovery provider, like zookeeper for instance, answers
your question.
-----
--
Pierre
--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGI-local-discovery-question-tp3356839p3358600.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: DOSGI local discovery question
Posted by David Bosschaert <da...@gmail.com>.
Yes, the osgi Remote Discovery service should do this for you. If you
only want to use it locally, then you can configure it just on your
local machine...
See also: http://cxf.apache.org/dosgi-discovery-demo-page.html
Cheers,
David
On 27 January 2011 08:50, phperret@gmail.com <ph...@gmail.com> wrote:
>
>
>
>
>
> jkoppenhofer wrote:
>>
>> I have a scenario where I would like to use local discovery (ie
>> remote-services.xml) but would like the local discovery to automatically
>> detect when an endpoint goes online or offline. From what I can tell, it
>> looks like local discovery only happens on startup of the consumer bundle.
>> Is there anyway to use local discovery to tell when a remote service is
>> started or stopped?
>>
>
>
> I think a 'discovery provider' like ZooKeeper, should answer your question.
>
> -----
> --
> Pierre
> --
> View this message in context: http://cxf.547215.n5.nabble.com/DOSGI-local-discovery-question-tp3356839p3359369.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
Re: DOSGI local discovery question
Posted by "phperret@gmail.com" <ph...@gmail.com>.
jkoppenhofer wrote:
>
> I have a scenario where I would like to use local discovery (ie
> remote-services.xml) but would like the local discovery to automatically
> detect when an endpoint goes online or offline. From what I can tell, it
> looks like local discovery only happens on startup of the consumer bundle.
> Is there anyway to use local discovery to tell when a remote service is
> started or stopped?
>
I think a 'discovery provider' like ZooKeeper, should answer your question.
-----
--
Pierre
--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGI-local-discovery-question-tp3356839p3359369.html
Sent from the cxf-user mailing list archive at Nabble.com.