ap4r 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +17 -7
- data/MIT-LICENSE +1 -1
- data/README +4 -145
- data/Rakefile +50 -4
- data/lib/ap4r.rb +1 -1
- data/lib/ap4r/carrier.rb +107 -0
- data/lib/ap4r/dispatcher.rb +326 -0
- data/lib/ap4r/message_store_ext.rb +9 -5
- data/lib/ap4r/mongrel.rb +9 -4
- data/{script → lib/ap4r}/mongrel_ap4r.rb +1 -2
- data/lib/ap4r/multi_queue.rb +2 -1
- data/lib/ap4r/queue_manager_ext.rb +86 -200
- data/lib/ap4r/queue_manager_ext_debug.rb +15 -7
- data/lib/ap4r/retention_history.rb +3 -2
- data/lib/ap4r/script/base.rb +1 -1
- data/lib/ap4r/script/queue_manager_control.rb +1 -1
- data/lib/ap4r/script/setup.rb +1 -1
- data/lib/ap4r/script/workspace_generator.rb +2 -2
- data/lib/ap4r/start_with_log4r.rb +4 -1
- data/lib/ap4r/store_and_forward.rb +10 -6
- data/lib/ap4r/stored_message.rb +4 -3
- data/lib/ap4r/util/irm.rb +3 -3
- data/lib/ap4r/util/queue_client.rb +1 -1
- data/lib/ap4r/version.rb +2 -2
- data/rails_plugin/ap4r/lib/async_controller.rb +52 -41
- data/script/mongrel_ap4r +4 -0
- metadata +34 -8
- data/lib/ap4r/util/loc.rb +0 -12
- data/lib/ap4r/xxx_create_table_for_saf.rb +0 -21
- data/rails_plugin/ap4r/init.rb +0 -10
data/lib/ap4r/util/loc.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# Author:: Shunichi Shinohara
|
2
|
-
# Copyright:: Copyright (c) 2006 Future System Consulting Corp.
|
3
|
-
# Licence:: MIT Licence
|
4
|
-
|
5
|
-
require 'active_support'
|
6
|
-
require 'code_statistics'
|
7
|
-
|
8
|
-
CodeStatistics.new(
|
9
|
-
["Core Sources", "lib"],
|
10
|
-
["Rails plugin", "rails_plugin"],
|
11
|
-
["Scripts", "script"],
|
12
|
-
).to_s
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# Author:: Kiwamu Kato
|
2
|
-
# Copyright:: Copyright (c) 2006 Future System Consulting Corp.
|
3
|
-
# Licence:: MIT Licence
|
4
|
-
|
5
|
-
class CreateTableForSaf < ActiveRecord::Migration
|
6
|
-
def self.up
|
7
|
-
create_table :stored_messages do |t|
|
8
|
-
t.column :duplication_check_id, :string, :null => false
|
9
|
-
t.column :queue, :string, :null => false
|
10
|
-
t.column :headers, :binary, :null => false
|
11
|
-
t.column :object, :binary, :null => false
|
12
|
-
t.column :status, :integer, :null => false
|
13
|
-
t.column :created_at, :datetime, :null => false
|
14
|
-
t.column :updated_at, :datetime, :null => false
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
def self.down
|
19
|
-
drop_table :stored_messages
|
20
|
-
end
|
21
|
-
end
|
data/rails_plugin/ap4r/init.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# Author:: Shunichi Shinohara
|
2
|
-
# Copyright:: Copyright (c) 2006 Future System Consulting Corp.
|
3
|
-
# Licence:: MIT Licence
|
4
|
-
|
5
|
-
require 'async_controller'
|
6
|
-
require 'ap4r/stored_message'
|
7
|
-
|
8
|
-
class ActionController::Base
|
9
|
-
include Ap4r::AsyncController::Base
|
10
|
-
end
|