You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by bgoetzmann <bg...@sophia.symag.com> on 2007/07/31 11:44:51 UTC

A Unsubscribe XML message sample for the servicemix-wsn2005 component

Hello,

The "servicemix-wsn2005" page
(http://incubator.apache.org/servicemix/servicemix-wsn2005.html) gives the
example of a Subscribe XML message that one can use to send to the
NotificationBroker, exposed to the outside world, via HTTP in order to
subscribe to a particular topic.

It would be a good thing to show how to unsubscribe for a given topic. I
suppose you must use the subscription reference that tou get with the
SubscribeRepsonse message and the topic's name.

Is someone has an example of a Unsubcribe XML message?

Thank you.

Bertrand.
http://www.odelia-technologies.com/
-- 
View this message in context: http://www.nabble.com/A-Unsubscribe-XML-message-sample-for-the-servicemix-wsn2005-component-tf4191956s12049.html#a11921139
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: A Unsubscribe XML message sample for the servicemix-wsn2005 component

Posted by Bruce Snyder <br...@gmail.com>.
On 7/31/07, bgoetzmann <bg...@sophia.symag.com> wrote:
>
> Hello,
>
> The "servicemix-wsn2005" page
> (http://incubator.apache.org/servicemix/servicemix-wsn2005.html) gives the
> example of a Subscribe XML message that one can use to send to the
> NotificationBroker, exposed to the outside world, via HTTP in order to
> subscribe to a particular topic.
>
> It would be a good thing to show how to unsubscribe for a given topic. I
> suppose you must use the subscription reference that tou get with the
> SubscribeRepsonse message and the topic's name.
>
> Is someone has an example of a Unsubcribe XML message?

There is a test case that performs an unsubscribe in the
WSNComponentTest.testUnsubscribe() method. The source is here:

http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-wsn2005/src/test/java/org/apache/servicemix/wsn/component/WSNComponentTest.java?view=markup

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/