Use MSMQ and BtsHttpReceive instead of the adapter

Topics: Developer Forum, Project Management Forum, User Forum
May 13, 2008 at 8:11 AM
Hi all, i really tried to solve duplex communication problem with the TCP adapter but i failed. The main problem was the failure cause of memory exceptions. I decided to leave the adapter solution and wrote a windows service that handles the socket stuff. In the service i was allways listening the socket via thread processing. To send a message to socket i used MSMQ resource. In a certain timeouts (e.x. 200 ms) i was checking the MSMQ and if data was available i get it and send to the socket. If i got a data from the socket, i send  it to BtsHttpReceive receiver to put inside the Biztalk stuff. That's all. I made all in 2 weeks however i worked on the solution of the adapter took much more than that. Thank to adapter developer but i should say it is not the efficient way to handle sockets in Biztalk.
May 13, 2008 at 10:45 PM
yes, using MSMQ is not an efficient way to handle sockets