Permalink
Browse files

modified example scripts

  • Loading branch information...
1 parent 331be6a commit b020c6eed8a1692aed3b4a73074652839e20062e @icylisper icylisper committed Jan 17, 2010
Showing with 7 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 example/consumer.clj
  3. +1 −1 example/example.clj
  4. +4 −2 example/publisher.clj
View
@@ -1,6 +1,7 @@
target
local.properties
classes
+lib
*.jar
.*.sw*
*~
@@ -1,5 +1,5 @@
(ns rabbitmq.consumer.test
- (:require [com.github.icylisper.rabbitmq :as rabbitmq]))
+ (:require [org.clojars.rabbitmq :as rabbitmq]))
(defonce conn-map {:username "guest"
:password "guest"
View
@@ -1,4 +1,4 @@
-(use 'com.github.icylisper.rabbitmq)
+(use 'org.clojars.rabbitmq)
;; example(1)
(defonce conn-map {:username "guest"
@@ -1,5 +1,5 @@
-(ns rabbitmq.publisher
- (:require [com.github.icylisper.rabbitmq :as rabbitmq]))
+(ns rabbitmq-publisher
+ (:require [org.clojars.rabbitmq :as rabbitmq]))
(defonce conn-map {:username "guest"
:password "guest"
@@ -11,6 +11,8 @@
:queue "po-box"
:routing-key "tata"})
+(println conn-map)
+
(defonce connection (rabbitmq/connect conn-map))
(def c (ref 0))

0 comments on commit b020c6e

Please sign in to comment.