THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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>
endpoint: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>
|
This request will create a subscription on the myTopic topic and will send messages to the JBI endpoint identified by its URI. In this case, the endpoint: protocol is used to identify an endpoint on the JBI bus.
CreatePullPoint
Code Block | ||
---|---|---|
| ||
<wsnt:CreatePullPoint xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:sm="http://servicemix.apache.org/wsn2005/1.0"> <sm:address> http://www.consumer.org/service/endpoint </sm:address> </wsnt:CreatePullPoint> |
Wiki Markup |
---|
Note that the {{<sm:address/>}} element is a ServiceMix extension that creates a PullPoint on a specific JBI endpoint (\[namespace]\[sep]\[service]\[sep]\[endpoint], see [URIs]). This is very useful when you want to create a subscription for this endpoint at deployment time (see the previous paragraph). |
Notify
The Notify request is sent by a publisher to the NotificationBroker. This request contains a list of NotificationMessage, each one containing:
...