Deepthi's profileWin with Win MobilePhotosBlogListsMore Tools Help

Blog


    07 December

    MSMQ over HTTP

    The coolest features of MSMQ 3.0 is the ability to send messages over HTTP - right through firewalls. For this to be possible, we need to have the MSMQ over HTTP component installed. (under Add/Remove Programs->Windows Components->Application Server->Message Queueing->).
     
    If you have it installed, you will see an IIS application with the name 'msmq', and it will have nothing in it.
     
    SOAP Reliable Messaging Protocol (SRMP), an XML-based messaging protocol, has been developed for delivering high Quality of Service (QoS) messages. The direct, public, and private format names of administration and response queues can be included in messages sent over HTTP transport. Similarly, the names of administration and response queues in HTTP format can be included in messages sent over ordinary (non-HTTP) transport.
     
    Destination queues for HTTP messages are opened using direct format names that include the URL address of the target computer, the virtual directory name, and the queue name separated by slashes. The default virtual directory name is msmq, but Message Queuing can be configured by IIS to use a different virtual directory. A direct format name containing HTTPS as the protocol name invokes a secure HTTP transport through a Secure Sockets Layer (SSL) connection.
     
    Now to send my message over MSMQ using http, what I did was create a message queue with the following direct format name :

    @"FormatName:DIRECT=http://172.30.189.xxx/msmq/Private$/myqueue" with my machine's ip address.

    That does the trick :)..more on msmq over http in .net cf in the next post. cya !

     

     
     

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://winwithmobility.spaces.live.com/blog/cns!A2CD686F55CB1049!116.trak
    Weblogs that reference this entry
    • None