Click here to Skip to main content
15,881,559 members
Articles / Hosted Services / Azure

Azure Service Bus Pusher

Rate me:
Please Sign up or sign in to vote.
4.75/5 (8 votes)
3 Apr 2012CPOL24 min read 50.5K   436   22  
This article describes the design and implementation of the Push Service for Windows Azure Service Bus Messaging.
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
  <s:Header>
    <a:Action s:mustUnderstand="1">
      urn:rkiss.sb/pusher/2012/03/IPusher/NotifyStatus
    </a:Action>
    <BrokeredMessageProperty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:rkiss.sb/tester/2011/11">
      <ContentType xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging">application/soap+msbin1</ContentType>
      <CorrelationId xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging"></CorrelationId>
      <Label xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging">ServiceBusTester</Label>
      <MessageId xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging">7715f639216c4a639689142068ad684b</MessageId>
      <Properties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>abcd</d4p1:Key>
          <d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:long">12345</d4p1:Value>
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>image</d4p1:Key>
          <d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:long">111</d4p1:Value>
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>Greating</d4p1:Key>
          <d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string">Hello Cloud</d4p1:Value>
        </d4p1:KeyValueOfstringanyType>
      </Properties>
      <ReplyTo xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging"></ReplyTo>
      <ReplyToSessionId xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging"></ReplyToSessionId>
      <ScheduledEnqueueTimeUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging">0001-01-01T00:00:00</ScheduledEnqueueTimeUtc>
      <SessionId xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging"></SessionId>
      <TimeToLive xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging">PT10M</TimeToLive>
      <To xmlns="http://schemas.datacontract.org/2004/07/Microsoft.ServiceBus.Messaging"></To>
    </BrokeredMessageProperty>
  </s:Header>
  <s:Body />
</s:Envelope>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions