<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Distributed Systems</title>
        <link>http://geekswithblogs.net/ReDsKuLLS/category/10324.aspx</link>
        <description>Distributed Systems</description>
        <language>es-PE</language>
        <copyright>ReDsKuLLS</copyright>
        <managingEditor>fernandoaperezmedina@hotmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Using MessagueQueue - Episode 1</title>
            <link>http://geekswithblogs.net/ReDsKuLLS/archive/2009/07/03/using-messaguequeue---episode-1.aspx</link>
            <description>&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Resumen&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;MSMQ is a component of Windows 2000, Windows XP, Windows Server 2003, and will be included in Windows Vista and future server versions of Windows. It allows cooperating applications to send and receive messages to each other—even if the intended recipient application is not running, or the computer on which the sender or recipient application is running is disconnected from the network. Messages are stored and forwarded by MSMQ until they reach the destination queue. A recipient application can retrieve data from the queue.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Teoria Microsoft&lt;/strong&gt;&lt;/p&gt;
&lt;div class="MTPS_CollapsibleSection" id="ctl00_MTContentSelector1_mainContentContainer_cpe351243_c" style="DISPLAY: block"&gt;
&lt;p&gt;The Message Queuing technology allows applications running at different times to communicate across heterogeneous networks and systems that might be temporarily offline. Applications send, receive, or peek (read without removing) messages from queues. Message Queuing is an optional component of Windows 2000 and Windows NT, and must be installed separately.&lt;/p&gt;
&lt;p&gt;The MessageQueue class is a wrapper around Message Queuing. There are multiple versions of Message Queuing, and using the MessageQueue class can result in slightly different behavior, depending on the operating system you are using. For information about specific features of each version of Message Queuing, see the topic "What's New in Message Queuing" in the Platform SDK in MSDN.&lt;/p&gt;
&lt;p&gt;The MessageQueue class provides a reference to a Message Queuing queue. You can specify a path in the &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl30" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl30',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.messagequeue(VS.80).aspx"&gt;MessageQueue&lt;/a&gt; constructor to connect to an existing resource, or you can create a new queue on the server. Before you can call &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl31" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl31',this);" href="http://msdn.microsoft.com/en-us/library/2bh1ct41(VS.80).aspx"&gt;Send(Object)&lt;/a&gt;, Peek, or Receive, you must associate the new instance of the MessageQueue class with an existing queue. At that point, you can manipulate the queue properties such as &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl32" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl32',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.category(VS.80).aspx"&gt;Category&lt;/a&gt; and &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl33" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl33',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.label(VS.80).aspx"&gt;Label&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;MessageQueue supports two types of message retrieval: synchronous and asynchronous. The synchronous methods, Peek and Receive, cause the process thread to wait a specified time interval for a new message to arrive in the queue. The asynchronous methods, BeginPeek and BeginReceive, allow the main application tasks to continue in a separate thread until a message arrives in the queue. These methods work by using callback objects and state objects to communicate information between threads.&lt;/p&gt;
&lt;p&gt;When you create a new instance of the MessageQueue class, you are not creating a new Message Queuing queue. Instead, you can use the &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl34" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl34',this);" href="http://msdn.microsoft.com/en-us/library/5yka0xsf(VS.80).aspx"&gt;Create(String)&lt;/a&gt;, &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl35" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl35',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.delete(VS.80).aspx"&gt;Delete&lt;/a&gt;, and &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl36" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl36',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.purge(VS.80).aspx"&gt;Purge&lt;/a&gt; methods to manage queues on the server.&lt;/p&gt;
&lt;p&gt;Unlike Purge, Create(String) and Delete are static members, so you can call them without creating a new instance of the MessageQueue class.&lt;/p&gt;
&lt;p&gt;You can set the MessageQueue object's &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl37" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl37',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.path(VS.80).aspx"&gt;Path&lt;/a&gt; property with one of three names: the friendly name, the &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl38" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl38',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.formatname(VS.80).aspx"&gt;FormatName&lt;/a&gt;, or the Label. The friendly name, which is defined by the queue's &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl39" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl39',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.machinename(VS.80).aspx"&gt;MachineName&lt;/a&gt; and &lt;a id="ctl00_MTContentSelector1_mainContentContainer_ctl40" onclick="javascript:Track('ctl00_MTContentSelector1_mainContentContainer_cpe351243_c|ctl00_MTContentSelector1_mainContentContainer_ctl40',this);" href="http://msdn.microsoft.com/en-us/library/system.messaging.messagequeue.queuename(VS.80).aspx"&gt;QueueName&lt;/a&gt; properties, is MachineName\QueueName for a public queue, and MachineName\Private$\QueueName for a private queue. The FormatName property allows offline access to message queues. Lastly, you can use the queue's Label property to set the queue's Path.&lt;/p&gt;
&lt;p&gt;For a list of initial property values for an instance of MessageQueue, see the MessageQueue constructor.&lt;/p&gt;
&lt;span indexmoniker="!DefaultDynamicLinkIndex" errorurl="" filtername="" filterstring=""&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;My First Project MSQ My Salvation :D&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;my first project using MSQ arose from the need to provide 2 different applications which transmitting data between them. (WAAA IS something so simple but here was my first contact with MSQ).&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="Comic Sans MS" color="#ff0000" size="4"&gt;MSQ Case Business&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="Comic Sans MS" color="#ff0000" size="4"&gt;&lt;font face="Arial" color="#3366ff" size="3"&gt;need building system progressive acumulative for Slot Machine, Casinos and other machines system game.&lt;/font&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="Comic Sans MS" color="#ff0000" size="4"&gt;&lt;img height="602" alt="view 1" width="812" src="/images/geekswithblogs_net/ReDsKuLLS/view 1.JPG" /&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Explanation :&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.- machines send information (account, credits, winners, loser, games in process) to server.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.- server receive information and send object business to service process.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3.- service process information logic business and send results to all or one machines slots or system progressive.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4.- service send message all aplications.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5.- message send in order and priority .&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;6.- application receive message and process action business.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;7.- other application receive message and process action business.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;
&lt;div id="clir" style="VISIBILITY: hidden; TEXT-ALIGN: left"&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000" size="5"&gt;But now enjoying its full power of the MessagueQueue&lt;/font&gt; &lt;/p&gt;
&lt;p&gt;1.- receive and send object serialization in xml or format binary :D.&lt;br /&gt;
2.- send Broadcast all user in my  system or send message to one user :D&lt;br /&gt;
3.-support transaction in MSQ&lt;br /&gt;
4.-priority message&lt;br /&gt;
5.-level privacity&lt;br /&gt;
ufff all ideas :D&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;View Repository MSQ in my project.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="502" width="580" align="absMiddle" alt="" src="/images/geekswithblogs_net/ReDsKuLLS/resized_mi mqs.jpg" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/strong&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;this objects  travellers in the red serialized, just do a cast on the other side and we already have our order ready on the other side of the application ready for processing. :D :D&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;THANKS MSQ !!! jejeje is easy my live &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div style="VISIBILITY: hidden; TEXT-ALIGN: left"&gt;&lt;font color="#ff0000" size="4"&gt;&lt;/font&gt;&lt;/div&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=133244"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=133244" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/ReDsKuLLS/aggbug/133244.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ReDsKuLLS</dc:creator>
            <guid>http://geekswithblogs.net/ReDsKuLLS/archive/2009/07/03/using-messaguequeue---episode-1.aspx</guid>
            <pubDate>Sat, 04 Jul 2009 09:07:45 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/ReDsKuLLS/comments/133244.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/ReDsKuLLS/archive/2009/07/03/using-messaguequeue---episode-1.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/ReDsKuLLS/comments/commentRss/133244.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>