On 7/31/07, bgoetzmann <[EMAIL PROTECTED]> 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)[EMAIL 
PROTECTED]&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/

Reply via email to