Skip to content
A .NET library for using Beanstalkd
Branch: master
Clone or download
Latest commit c37150f Dec 4, 2011
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Beanstalk.Client.IntegrationTest
Beanstalk.Client.Test
Beanstalk.Client
redist initial import Aug 24, 2010
README.rst
libBeanstalk.sln doc updates, post connection pool merge Sep 1, 2010

README.rst

libBeanstalk.NET 0.6

A .NET driver for Beanstalkd.

Note: until the driver reaches 1.0, the API is still likely to change between commits.

License

Apache 2.0

Status

Currently supports the full 1.3 beanstalkd protocol.

Usage

String data payload

// connect to beanstalkd
using(var client = new BeanstalkClient(host, port)) {

  // put some data
  var put = client.PutString("foo");

  // reserve data from queue
  var reserve = client.ReserveString();
  Console.Writeline("data: {0}", reserve.Data);

  // delete reserved data from queue
  client.Delete(reserve.JobId);
}

Binary payload

// connect to beanstalkd
using(var client = new BeanstalkClient(host, port)) {

  // put some data
  var put = client.Put(100, 0, 120, data, data.Length);

  // reserve data from queue
  var reserve = client.Reserve();

  // delete reserved data from queue
  client.Delete(reserve.JobId);
}

Patches

Patches are welcome and will likely be accepted. By submitting a patch you assign the copyright to me, Arne F. Claassen. This is necessary to simplify the number of copyright holders should it become necessary that the copyright be re-assigned or the code re-licensed. The code will always be available under an OSI approved license.

Articles

Roadmap

  • Add POCO producers and consumers with configurable serializers
  • Add IObservable support

Contributors

  • Arne F. Claassen (sdether)
You can’t perform that action at this time.