Beanstalk simple example c#

https://github.com/sdether/libBeanstalk.NET download and compile
 
using Droog.Beanstalk.Client;
 
using (var client = new BeanstalkClient("10.10.4.99", 11300))
{
    var put = client.PutString("foo");
    var reserve = client.ReserveString();
    client.Delete(reserve.JobId);
}

No comments:

Post a Comment

Note: only a member of this blog may post a comment.