THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
<sm:activationSpec> <sm:component> <bean class="org.apache.servicemix.wsn.spring.WSNSpringComponent"> <property name="requests"> <list> <bean class="org.apache.servicemix.wsn.spring.SubscribeFactoryBean"> <property name="consumer" value="http://servicemix.org/test/service/endpoint" /> <property name="topic" value="myTopic" /> </bean> </list> </property> </bean> </sm:component> </sm:activationSpec> |
WS-Notification messages
The following xml snippets are just examples of WS-Notification requests. You should refer to the specification for more informations.
Subscribe
Code Block | ||
---|---|---|
| ||
<wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsnt:ConsumerReference> <wsa:Address> http://www.consumer.org/service/endpoint </wsa:Address> </wsnt:ConsumerReference> <wsnt:Filter> <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> myTopic </wsnt:TopicExpression> </wsnt:Filter> </wsnt:Subscribe> |
...