Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $start = microtime(true);
- $queue = 'jms.queue.jimTest2';
- $msg = "ABCDJIMTEST<GRV>http://techcrunch.com/2010/09/23/thelikestream-digg-for-facebook-likes/<GRV>0";
- $stomp = new Stomp('tcp://grv-cache09:61613');
- for($i=0; $i<50000; $i++) {
- $stomp->send($queue, $msg, array('persistent' => 'false'));
- }
- unset($stomp);
- print microtime(true) - $start." seconds\n\n";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement