[jboss-cvs] JBoss Messaging SVN: r5113 - branches/amqp_integration.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 14 11:45:22 EDT 2008
Author: jmesnil
Date: 2008-10-14 11:45:22 -0400 (Tue, 14 Oct 2008)
New Revision: 5113
Modified:
branches/amqp_integration/README_AMQP.txt
Log:
added qpid download URL and amqp spec compliance
Modified: branches/amqp_integration/README_AMQP.txt
===================================================================
--- branches/amqp_integration/README_AMQP.txt 2008-10-14 15:34:53 UTC (rev 5112)
+++ branches/amqp_integration/README_AMQP.txt 2008-10-14 15:45:22 UTC (rev 5113)
@@ -10,8 +10,17 @@
message published by Qpid Ruby client.
1. Download QPid 1.0 M2.1
-2. modify ruby/tests/basic.rb:
+ http://www.apache.org/dist/incubator/qpid/M2.1-incubating/qpidc-1.0-incubating-M2.1.tar.gz
+2. modify ruby/qpid/test.rb to comply to AMQP 0.9 specification:
+
+ def connect()
+ spec = Spec.load("../specs/amqp.0-9.xml")
+ ...
+ end
+
+3. modify ruby/tests/basic.rb:
+
def publish(body, headers = {})
...
ch.basic_publish(:routing_key => "queuejms.testQueue", :content => content)
@@ -24,12 +33,12 @@
") end
-3. run JBoss Messaging server:
+4. run JBoss Messaging server:
$ cd $JBOSS_MESSAGING_HOME
$ ant clean runServer
-4. Run the Ruby test
+5. run the Ruby test
$ cd $QPID_HOME/ruby
$ ./run_tests
@@ -40,9 +49,10 @@
1 tests, 1 assertions, 0 failures, 0 errors
-5. Check that a message is in the queuejms.testQueue using jconsole
-6. since JBoss Messaging does not handle delivering AMQ message at the moment,
-I've hacked the SimpleClient example to consume the message from queuejms.testQueue:
+6. Check that a message is in the queuejms.testQueue using jconsole
+7. since JBoss Messaging does not handle delivering AMQ messages at the moment,
+I've hacked the SimpleClient example to consume the message from queuejms.testQueue
+as a Core message:
$ cd $JBOSS_MESSAGING_HOME
$ ant SimpleClient
More information about the jboss-cvs-commits
mailing list