Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/broker.yml.example
diff options
context:
space:
mode:
authorMarius Mathiesen <marius.mathiesen@gmail.com>2009-02-03 13:46:27 (GMT)
committer Johan Sørensen <johan@johansorensen.com>2009-04-22 12:03:58 (GMT)
commitb004c6b0baeb3d99d05b02075ff5b9f9ddba47d6 (patch)
tree2cb3b1cb75488d42f7029d50dbca388f0bf88723 /config/broker.yml.example
parent34be4db66bf161adfd7b3b4d895c303512f7cd93 (diff)
Adding ActiveMessaging for async handling of tasks:
- Changed Repository's task creation to post to ActiveMQ - Added processors for creation/cloning and deletion of repositories - Added Refresh header when showing a repo that isn't ready yet
Diffstat (limited to 'config/broker.yml.example')
-rw-r--r--config/broker.yml.example71
1 files changed, 71 insertions, 0 deletions
diff --git a/config/broker.yml.example b/config/broker.yml.example
new file mode 100644
index 0000000..b349d3b
--- /dev/null
+++ b/config/broker.yml.example
@@ -0,0 +1,71 @@
+#
+# broker.yml
+#
+# Simple yaml file for the env specific configuration of the broker connections.
+# See the wiki for more information: http://code.google.com/p/activemessaging/wiki/Configuration
+#
+development:
+ ############################
+ # Stomp Adapter Properties #
+ ############################
+ adapter: stomp
+
+ ## properties below are all defaults for this adapter
+ # login: ""
+ # passcode: ""
+ # host: localhost
+ # port: 61613
+ # reliable: true
+ # reconnectDelay: 5
+
+ # NEW! enable stomp retry logic
+ # will resend errored out messages to be retried when on_error throws ActiveMessaging::AbortMessageException
+ #
+ # Max number of times to retry an aborted message, for 0, will not retry (default)
+ # retryMax: 0
+ #
+ # If error still occurs after retryMax, send message to specified dead letter queue
+ # deadLetterQueue: '/queue/activemessaging/deadletter'
+
+
+ ###################################
+ # Websphere MQ Adapter Properties #
+ ###################################
+ # adapter: wmq
+ # q_mgr_name: ""
+ # poll_interval: .1
+
+
+ #################################
+ # Amazon SQS Adapter Properties #
+ #################################
+ # adapter: asqs
+ # access_key_id: XXXXXXXXXXXXXXXXXXXX
+ # secret_access_key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+
+ ## properties below are all defaults for this adapter
+ # host: queue.amazonaws.com
+ # port: 80
+ # reliable: true
+ # reconnectDelay: 5
+ # aws_version: 2006-04-01
+ # content_type: text/plain
+ # poll_interval: 1
+ # cache_queue_list: true
+
+
+ ########################################
+ # ReliableMessaging Adapter Properties #
+ ########################################
+ # adapter: reliable_msg
+
+ ## properties below are all defaults for this adapter
+ # poll_interval: 1
+ # reliable: true
+
+test:
+ adapter: test
+ reliable: false
+
+production:
+ adapter: stomp