﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows Azure Service Bus: Sending the message to queue and topic with JavaScript</title><link />http://developers.de/blogs/damir_dobric/archive/2014/03/18/windows-azure-service-bus-sending-the-message-to-queue-and-topic-with-javascript.aspx<description>IAs you probably know the easiest way to send the message to the queue or topic is to use .NET SDK. When using .NET SDK communication with Service Bus will be TCP on specific ports. This protocol is called SBMP and stands fro native service message protocol</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Windows Azure Service Bus: Sending the message to queue and topic with JavaScript</title><link />http://developers.de/blogs/damir_dobric/archive/2014/03/18/windows-azure-service-bus-sending-the-message-to-queue-and-topic-with-javascript.aspx#912012<pubdate>Sun, 06 Apr 2014 20:31:28 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:912012</guid><dc:creator>Bill Harts</dc:creator><description>&lt;p&gt;Damir,&lt;/p&gt;
&lt;p&gt;Thanks for posting this stuff. &amp;nbsp;I think there&amp;#39;s a small problem with your GetToken function in Javascript. &amp;nbsp;You are calculating the time of expiration as:&lt;/p&gt;
&lt;p&gt;var expireInSeconds = +(31 * 24 * 3600) + 3600 + (((t1.getTime() - t0.getTime()) / 1000) | 0);&lt;/p&gt;
&lt;p&gt;which seems a bit strange. &amp;nbsp;I think it works for you because you&amp;#39;re in a time zone ahead of UTC. But for those of us in the rest of the world (like New York CIty), I think you need something like this:&lt;/p&gt;
&lt;p&gt;expireInSeconds = (Date.now() / 1000) + 3600;&lt;/p&gt;
&lt;p&gt;Bill&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=912012" width="1" height="1"&gt;</description></item><item><title>Microsoft Azure Service Bus: PeekAndLock Messages with JavaScript</title><link />http://developers.de/blogs/damir_dobric/archive/2014/03/18/windows-azure-service-bus-sending-the-message-to-queue-and-topic-with-javascript.aspx#912018<pubdate>Sat, 29 Mar 2014 16:03:22 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:912018</guid><dc:creator>Damir Dobric Posts</dc:creator><description>&lt;p&gt;This post is the third one of my Service Bus JavaScript posts. Episode I&amp;#160; - Receiving of Messages&lt;/p&gt;
&lt;img src="http://developers.de/aggbug.aspx?PostID=912018" width="1" height="1"&gt;</description></item><item><title>Microsoft Azure Service Bus: PeekAndLock Messages with JavaScript</title><link />http://developers.de/blogs/damir_dobric/archive/2014/03/18/windows-azure-service-bus-sending-the-message-to-queue-and-topic-with-javascript.aspx#912020<pubdate>Sat, 29 Mar 2014 12:31:02 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:912020</guid><dc:creator>Damir Dobric Posts</dc:creator><description>&lt;p&gt;This post is the third one of my Service Bus JavaScript posts. Episode I&amp;#160; - Receiving of Messages&lt;/p&gt;
&lt;img src="http://developers.de/aggbug.aspx?PostID=912020" width="1" height="1"&gt;</description></item></channel></rss>