Re: Listening for topology events in 4.1.0

2015-05-05 Thread Matt Turner (matttur)
Thanks Gayan, that’s a really concise example, very helpful. Matt On 01/05/2015 13:03, "Gayan Gunarathne" mailto:gay...@wso2.com>> wrote: Hi Matt, In that case you can reuse the messaging library in such as way we are using it in Stratos component.In the messaging module we already have all t

Re: Listening for topology events in 4.1.0

2015-05-05 Thread Matt Turner (matttur)
Hi Imesh, Thanks for the example, but I think you are correct that it is out of date. Please tell me when you update this to match master branch! Thanks, Matt On 01/05/2015 20:38, "Imesh Gunaratne" mailto:im...@apache.org>> wrote: Hi Matt, You could refer below client: https://github.com/ime

Re: Listening for topology events in 4.1.0

2015-05-01 Thread Imesh Gunaratne
Hi Matt, You could refer below client: https://github.com/imesh/stratos-event-publisher This may not up to date, however you should be able to get an idea. I will be updating this soon to match with the master branch. Thanks On Fri, May 1, 2015 at 5:33 PM, Gayan Gunarathne wrote: > Hi Matt, >

Re: Listening for topology events in 4.1.0

2015-05-01 Thread Gayan Gunarathne
Hi Matt, In that case you can reuse the messaging library in such as way we are using it in Stratos component.In the messaging module we already have all the receivers, so you can reuse them as it is with your utility. I think you can first refer how the event receiver classes used in Stratos com

Listening for topology events in 4.1.0

2015-05-01 Thread Matt Turner (matttur)
Hi Devs, I want to write a utility that listens for topology events using the org.apache.stratos.messaging library. There seem to be several ways to use this library. What is the proper way to do this in Stratos 4.1.0? Is there an example I can look at? Thanks, Matt Turner Software Engineer Ci