Compact Framework - MSMQ

Asked By Prashu u
22-Sep-08 04:42 AM
How to handle firmware signals ? Can we use MSMQ ? If yes how can we achieve this

where you can use MSMQ? -> Answer  where you can use MSMQ? -> Answer

22-Sep-08 04:58 AM

Hi,

MSMQ is essentially a messaging protocol that allows applications running on disparate servers to communicate in a failsafe manner. A queue is a temporary storage location from which messages can be sent when conditions permit.

Microsoft Message Queuing (MSMQ) technology enables applications running at different times to communicate across heterogeneous networks and systems that may be temporarily offline. MSMQ provides guaranteed message delivery, efficient routing, security, and priority-based messaging. It can be used to implement solutions for both asynchronous and synchronous messaging scenarios.

Basically certain applications will use this feature to ensure they receive the messages, as if they are not on, the message is queed for delivery to the application is back online.


You can also say MSMQ is a tool for sending and receiving messages. MSMQ is powerful enough to provide near real-time message exchange throughput, depending on the machines and transports involved in the exchange, and flexible enough to provide many features required in assembling a communications infrastructure for your application system. You can send MSMQ messages across machine boundaries - including across the Internet - to queues where a receiving application can retrieve them in a prioritized first-in first-out manner.

>> Purposes and situations we can use this.
Developers can use this to perform operations asynchronously; that is, beginning a process without waiting for the operation to complete. MSMQ has provided this facility to developers since its inception. It was especially useful for VB developers, because before MSMQ, there were very few options for managing an asynchronous process in VB.

For more info:
"Understanding MSMQ"
http://www.microsoft.com/technet/archive/winntas/proddocs/ntmsgqmn/msmqad01.mspx?mfr=true

"Microsoft Message Queuing"
http://www.microsoft.com/windowsserver2003/technologies/msmq/default.mspx

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22937448.html for details.

RE  RE

22-Sep-08 05:29 AM

Message Queuing (MSMQ) technology enables applications running at different times to communicate across heterogeneous networks and systems that may be temporarily offline. Applications send messages to queues and read messages from queues. The following illustration shows how a queue can hold messages that are generated by multiple sending applications and read by multiple receiving applications.

Message Queuing is accessible by way of several programming interfaces. The .NET Framework includes a System.Messaging class library that allows access to MSMQ, and this is available to any one of 20 .NET languages, including VB.NET, C#, J#, and many others. In addition, there is a C/C++ library available, as well as a COM library for COM-enabled environments

Message Queuing can be accessed and used by any Windows application, including Windows Forms applications that present graphical user interfaces (GUIs), smart client applications built on top of the Microsoft Office System, server-side applications running within ASP.NET, Windows Services, and others.

http://msdn.microsoft.com/en-us/library/ms711472.aspx

Create New Account
help
MSMQ connection issue using Compact Framework I have 3 Ipaq 111's. Each have MSMQ installed on it. The Apps are written in VB.Net. I have an App on this happens once the connection is reestablished it can take up to 10+ minutes for MSMQ to start sending out messages to the remote queues again. During this time I check the status of the MSMQ using visadm on the Sender and it shows as DISCONNECTED, which is why nothing is help. Glenn Greene Hi Yes there some point you need check and to do the MSMQ in .NET CF http: / / netcf2.blogspot.com / http: / / msdn.microsoft.com / en-us / library / ms172497
Messaging over http using Msmq in .net compact framework Hi, I am trying to use msmq over http (or srmp) in a smart device application (.net cf 2.0 windows mobile Following is the code that I have written : string strDestQ = @"FormatName:Direct = HTTP: / / localhost / private$ / MSMQ / testq " ; try { if (! MessageQueue .Exists(strDestQ)) MessageQueue .Create(strDestQ); MessageQueue mq = new MessageQueue (strDestQ); mq exception in MessageQueue.Create() : "cannot create a queue with path: FormatName:Direct = HTTP: / / localhost / private$ / MSMQ / testq " Infact, the same exceptions occur whenever I creat the queue with any direct format 0 (TCP / OS / HTTP). I have verified the following : 1.Httpd web server installed 2.Msmq installed, registered and started 3.srmp enabled Am I missing something here ? Could you please
MSMQ .NET Framework I' ve installed the msmq extension copying the cab file to the device and after running it and installing on the device memory. i create a sample application like this: if (!msmq.MessageQueue.Exists(". \ private$ \ mobile")) { myQueue = msmq.MessageQueue.Create(". \ private$ \ mobile"); } else { myQueue = new msmq.MessageQueue(". \ private$ \ mobile"); } but i receive and exception : "queue service messages is not available" Whats wrong ? thanks. .NET Compact Framework Discussions MessageQueue (1) Application (1) Did you soft reset after installing MSMQ? - - Neil Cowburn Principal
sending XML via MSMQ .NET Framework i'm working on an app that needs to send large XML files from a server to remote devices via MSMQ. what is the best (ie: most efficient) object type to use for the body of the message? should i use 'string'? XmlDocument? something else? thanks! .NET Compact Framework Discussions XML (1) OpenNETCF (1) XmlDocument (1) MSMQ (1) GaryJH (1) MVP (1) DEC (1) CB (1) if you want to send raw OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com - - keywords: sending, XML, via, MSMQ description: i'm working on an app that needs to send large XML files from a server to remote devices via MSMQ. what is the best (ie: most efficient) object type to
MSMQ, emulator and ActiveSync .NET Framework Hi I am about to start testing MSMG on Windows Mobile. I have 2 questions the emulator or must I use a device? - Can I use ActiveSync? Regards, Thore .NET Compact Framework Discussions ActiveSync (1) Windows (1) Bjørn (1) Brox (1) Emulator (1) MSMQ (1) MSMG (1) Thore Berntsen skrev: Your choice. Yes, both for the emulator and the device. - - Bjørn Brox keywords: MSMQ, , emulator, and, ActiveSync description: Hi I am about to start testing MSMG on Windows Mobile