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