Jul 10th, 2009, 07:25 AM
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?
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.
Jul 10th, 2009, 07:30 AM
Nevermind I found the problem, you can't have a property of key "Type". That doesn't generate exceptions, it just gets ignored.