Insert rows in to the queue table and run this script in the queue processor job.
Table Hints do the trick ,otherwise there will be locking issues.
UPDLOCK : Grabs an update lock until transaction is completed and prevents another process from picking up same queue item.
READPAST : If a process encounters a row that is currently locked by another, this hint will make it skip that locked row and moves on to find the next one.
http://msdn.microsoft.com/en-us/library/ms187373.aspx