...
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> <sm:name>myPullPoint</sm:name> </wsnt:CreatePullPoint> |
Note that the {{ Wiki Markup <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).
...