Skip to content

Instantly share code, notes, and snippets.

@JoeReis
JoeReis / Receive classpath
Last active December 14, 2015 23:19
This adapts the "Recv" file in the RabbitMQ tutorial #1 to write a message to a Postgres database. The same rationale can apply to other databases besides Postgres. There are two versions of this tutorial - Python and Java. We're using Java in this example. The only thing you need to change from the tutorial is the Recv.java file and the classpa…
java -cp .:commons-io-1.2.jar:commons-cli-1.jar:rabbitmq-client.jar:postgresql-9.2-1002.jdbc3.jar Receive