Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

Commit

Permalink
Refactored map/YAML-based configuration to be more flat and not rely …
Browse files Browse the repository at this point in the history
…on string matching.
  • Loading branch information
budjb committed Apr 19, 2016
1 parent 88b3bc0 commit b602e14
Show file tree
Hide file tree
Showing 18 changed files with 802 additions and 589 deletions.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Nov 27 23:09:32 CET 2015
#Mon Apr 18 15:41:11 CDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\:https://services.gradle.org/distributions/gradle-2.9-bin.zip
distributionUrl=https\:https://services.gradle.org/distributions/gradle-2.9-all.zip
56 changes: 33 additions & 23 deletions grails-app/conf/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,37 @@ rabbitmq:
password: 'guest'
virtualHost: 'test2.rabbitmq.budjb.com'
name: 'connection2'

exchanges:
topic-exchange:
type: topic
autoDelete: true

queues:
connection_connection1:
queue_reporting:
autoDelete: true
queue_sleeping:
autoDelete: true
queue_string-test:
autoDelete: true
exchange_topic-exchange:
type: 'topic'
autoDelete: true
queues:
queue_topic-queue-all:
autoDelete: true
binding: '#'
queue_topic-queue-subset:
autoDelete: true
binding: 'com.budjb.#'
queue_topic-queue-specific:
autoDelete: true
binding: 'com.budjb.rabbitmq'
connection_connection2:
queue_connection2-queue:
autoDelete: true
reporting:
autoDelete: true
connection: connection1
sleeping:
autoDelete: true
connection: connection1
string-test:
autoDelete: true
connection: connection1
topic-queue-all:
autoDelete: true
binding: '#'
connection: connection1
exchange: topic-exchange
topic-queue-subset:
autoDelete: true
binding: 'com.budjb.#'
connection: connection1
exchange: topic-exchange
topic-queue-specific:
autoDelete: true
binding: 'com.budjb.rabbitmq'
connection: connection1
exchange: topic-exchange
connection2-queue:
autoDelete: true
connection: connection2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import com.budjb.rabbitmq.connection.ConnectionManager
import com.budjb.rabbitmq.consumer.ConsumerManager
import com.budjb.rabbitmq.converter.MessageConverter
import com.budjb.rabbitmq.converter.MessageConverterManager
import com.budjb.rabbitmq.queuebuilder.QueueBuilder
import com.budjb.rabbitmq.report.ConnectionReport
import com.rabbitmq.client.Channel
import com.rabbitmq.client.Connection
Expand Down
Loading

0 comments on commit b602e14

Please sign in to comment.