Announcement Announcement Module
Collapse
No announcement yet.
How do I add more than one property to a message? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I add more than one property to a message?

    Is there a way to add more than one property to a message with NMS?

    For instance,

    IBytesMessage.Properties.SetString(string,string) only seems to work the first time that I call it. Any subsequent seem to be ignored with no exceptions thrown.

    I'd like to add multiple properties to a message, and looking at the source code, it seems like that was the intention, but I can't figure out how to do it.

  • #2
    Nevermind I found the problem, you can't have a property of key "Type". That doesn't generate exceptions, it just gets ignored.

    Comment

    Working...
    X