MessageQueues with different types

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • UJ

    #1

    MessageQueues with different types

    Can you have the same messagequeue process messages that are of different
    types?

    TIA - Jeff.


  • Peter Bromberg [C# MVP]

    #2
    RE: MessageQueues with different types

    The MSMQ Message Class "Body" property is of type Object. You can store
    whatever type you want there. Its up to the code that retrieves the message
    to deserialize it to the type needed.
    Peter

    --
    Co-founder, Eggheadcafe.com developer portal:

    UnBlog:





    "UJ" wrote:
    [color=blue]
    > Can you have the same messagequeue process messages that are of different
    > types?
    >
    > TIA - Jeff.
    >
    >
    >[/color]

    Comment

    Working...