[jboss-cvs] JBoss Messaging SVN: r5156 - branches/amqp_integration.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 20 09:20:14 EDT 2008


Author: jmesnil
Date: 2008-10-20 09:20:14 -0400 (Mon, 20 Oct 2008)
New Revision: 5156

Modified:
   branches/amqp_integration/README_AMQP.txt
Log:
updated instructions to run all the Qpid basic.rb tests

Modified: branches/amqp_integration/README_AMQP.txt
===================================================================
--- branches/amqp_integration/README_AMQP.txt	2008-10-20 08:36:03 UTC (rev 5155)
+++ branches/amqp_integration/README_AMQP.txt	2008-10-20 13:20:14 UTC (rev 5156)
@@ -19,19 +19,8 @@
       ...
     end
  
-3. modify ruby/tests/basic.rb:
-
-    def publish(body, headers = {})
-      ...
-      ch.basic_publish(:routing_key => "queuejms.testQueue", :content => content)
-      ...
-    end
-
-   and comment all tests except test_publish_headers:
+3. modify ruby/tests/basic.rb by replacing all occurences of "test-queue" by "queuejms.testQueue"
    
-   def test_publish_headers(); publish("hello world", :content_type => "text/plain", :foo => "bar
-") end
-   
 4. modify ruby/run_tests by commenting:
 
    # require "test/channel"
@@ -48,20 +37,11 @@
    Loaded suite ./run-tests
    Started
    ...
-   Finished in 1.0873 seconds.
-   
-   1 tests, 1 assertions, 0 failures, 0 errors
-   
-7. Check that a message is in the queuejms.testQueue using jconsole
+   waiting to read something
+     1) Failure:
+   test_consume_headers(Basic)
+       [./tests/basic.rb:49:in `consume'
+        ./tests/basic.rb:67:in `test_consume_headers']:
+   <false> is not true.
 
-8. 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
-   ...
-   SimpleClient:
-     [java] msg.getPayload() = hello world
-   
-   
\ No newline at end of file
+   6 tests, 12 assertions, 1 failures, 0 errors




More information about the jboss-cvs-commits mailing list