tag:blogger.com,1999:blog-1000597103989045457.post5648591343179662192..comments2022-04-01T00:45:06.103-07:00Comments on Thoughts of Tim Bish: NMS.Stomp now has Stomp v1.1 supportTimhttp://www.blogger.com/profile/03370927021680126470noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1000597103989045457.post-232492172357073502010-11-28T14:26:08.080-08:002010-11-28T14:26:08.080-08:00Sounds like an NMSTemplate bug, I'd report an ...Sounds like an NMSTemplate bug, I'd report an issue to them about it, maybe provide them with a sample that reproduces the issue.Timhttps://www.blogger.com/profile/03370927021680126470noreply@blogger.comtag:blogger.com,1999:blog-1000597103989045457.post-64123803866978256012010-11-26T11:52:23.664-08:002010-11-26T11:52:23.664-08:00Hi!
Hopefully you are a NMS expert and can explai...Hi!<br /><br />Hopefully you are a NMS expert and can explain to me why NMSTemplate seems to create a new socket for sending messages to AMQ every so often. Checking what's going on with netstat reveals this:<br /><br />C:\>netstat -an|find "61616"<br /> TCP 0.0.0.0:61616 0.0.0.0:0 LISTENING<br /> TCP 127.0.0.1:1593 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1594 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1596 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1597 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1598 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1599 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1600 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1601 127.0.0.1:61616 TIME_WAIT<br /> TCP 127.0.0.1:1602 127.0.0.1:61616 TIME_WAIT<br />... hundreds of similar socket binds...<br /><br /><br />Anyway, after some time the server will not respond. Is this a bug in the nms implementation shipped with Spring.Net 1.3 or is there something one should do to release these sockets when using NMSTemplate's ConvertAndSend method?<br /><br />I've just followed the examples that you can find on the AMQ and Spring.Net sites. I haven't read anywhere that I should handle socket releases when using this template from NMS.<br /><br />Thanks,<br />Steinard.steinardhttps://www.blogger.com/profile/16173080798878352224noreply@blogger.com