Skip to content

yonglehou/Hangfire.Firebird

 
 

Repository files navigation

Hangfire.Firebird

This is an plugin to the Hangfire to enable Firebird as a storage system. Read about hangfire here: https://github.com/HangfireIO/Hangfire#hangfire- and here: http://hangfire.io/

Instructions

Install Hangfire, see https://github.com/HangfireIO/Hangfire#installation

Download all files from this repository, add the Hangfire.Firebird.csproj to your solution. Reference it in your project, and you are ready to go by using:

app.UseHangfire(config =>
{
    config.UseFirebirdStorage("<connection string or its name>");
    config.UseServer();
});

Using Firebird with MSMQ

To use MSMQ queues, you should do the following steps:

  1. Create them manually on each host. Don't forget to grant appropriate permissions.
  2. Register all MSMQ queues in current FirebirdStorage instance.

If you are using only default queue, pass the path pattern to the UseMsmqQueues extension method (it also applicable to the :doc:OWIN bootstrapper <owin-bootstrapper>):

app.UseHangfire(config =>
{
   config.UseFirebirdStorage("<connection string or its name>")
         .UseMsmqQueues(@".\hangfire-{0}");
});

For more information see http://docs.hangfire.io/en/latest/configuration/using-sql-server-with-msmq.html

Related Projects

License

Copyright © 2015 Rob Segerink <http://discuss.hangfire.io/c/storage.

Hangfire.Firebird is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

Hangfire.Firebird is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Hangfire.Firebird. If not, see http://www.gnu.org/licenses/.

This work is based on the work of Sergey Odinokov, author of Hangfire. http://hangfire.io/

Special thanks goes to him.

About

Firebird Storage Provider for Hangfire http://hangfire.io/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.5%
  • Other 0.5%