To install RabbitMQ on Ubuntu is as simple as executing:
sudo apt-get install rabbitmq-server
Next we need to download the java client libraries as they are not included in the ubuntu package. You can find the libraries at http://www.rabbitmq.com/java-client.html Unzip the archive and include the jars in your classpath
First we need a way of creating connections to RabbitMQ and also a method to setup exchanges, queues and routing keys:
Run the main method to setup our test queue.
Then create the publisher:
Then the consumer
The execute the main method on the Publisher and Consumer and watch the messages flow.
Monday, 8 August 2011
Sunday, 7 August 2011
Free AI Course From Stanford - Introduction to Artificial Intelligence
Standford university's Sebastian Thrun and Peter Norvig in the next session of CS221: Introduction to Artificial Intelligence (October 2011) are throwing open the doors and allowing anyone, anywhere enrolment into this excellent course. All materials will be available online and there will be a homework assignment each week along with a mid-term and final exam. The best thing is that its free, to as many people who sign up.
Registration is occurring soon so sign up here at www.ai-class.com.
There is a text book associated with the course. This text is used in over 1200 universities to teach AI so will be an asset for any bookshelf.
Registration is occurring soon so sign up here at www.ai-class.com.
There is a text book associated with the course. This text is used in over 1200 universities to teach AI so will be an asset for any bookshelf.
Subscribe to:
Posts (Atom)