Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
langxml
<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>
  <sm:name>myPullPoint</sm:name>
</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).

The <sm:name/> element is a second ServiceMix extension that can be used to specify the name of the PullPoint. Such a name is used as JMS queue name, so it may be useful to specify it if you want to address a specific queue. If none is set, a queue name will be automatically generated (note that some JMS providers may require some administration tasks to be performed to create a JMS destination).

Notify

The Notify request is sent by a publisher to the NotificationBroker. This request contains a list of NotificationMessage, each one containing:

...