-
July 5th, 2005, 10:13 PM
#1
Pass Objects to Message Queue
Does anyone know how to pass a serialized object to a message queue and then read it from the queue. I need to pass an object to the queue and then deseralize it.
Hoagers34
-
July 6th, 2005, 11:10 AM
#2
Re: Pass Objects to Message Queue
Use XmlSerializer to serialize ur object. Save the serialized xml string message to the queue.
When you want to recreate your object, get the message from the queue and deserialize it.
There has been an alarming increase in the number of things I know nothing about .
-
July 6th, 2005, 12:02 PM
#3
Re: Pass Objects to Message Queue
Thanks, I made it that far...I just did not know how to read the data. I found out that i need to use the BinaryFormatter to get the serialized data fromt he messagebody. Thanks.
hoagers34
-
July 6th, 2005, 01:56 PM
#4
Re: Pass Objects to Message Queue
Yeah it depends on how your are saving the serialized data...
ne ways u know how to do it... good
There has been an alarming increase in the number of things I know nothing about .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|