Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / October 2005

Tip: Looking for answers? Try searching our database.

Reading text-only body from MSMQ in C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lee Zeitz - 10 Oct 2005 13:26 GMT
Hello,

I have a need to read messages from MSMQ (on the order of 350,000 messages
per day) that have a body that is text-only (not in XML format).  There are
3 message formats to select from (XMLMessageFormatter,
ActiveXMessageFormatter, and BinaryMessageFormatter).  All samples that I
have found indicate use XMLMessageFormatter, but I am not sure I should use
this because my message is text.

Does anyone know how I should read these messages?
Dan Kelley - 11 Oct 2005 08:18 GMT
It all depends - do you have control over the application that is sending the
message? The ActiveXMessageFormatter is used to send and receive messages
to/from COM applications (e.g. written in VB6). As you are only sending text,
I would recommend you use the binary formatter, as it should result in
smaller message sizes.

HTH
Dan

> Hello,
>
[quoted text clipped - 6 lines]
>
> Does anyone know how I should read these messages?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.