Clean q

Nov 25, 2016 at 9:33 AM
Edited Nov 25, 2016 at 9:34 AM
Hi.
Are you clean a Q after message was send?
I mean do you use following code in your app?
declare @x xml
;receive top (1) @x = cast(message_body as xml) from Queue
select @x
receive
https://msdn.microsoft.com/en-us/us-en/library/ms186963.aspx