... messageReceived.getText());The rst try/catch block creates a new instance of MongoDB and connects to the hornetqdb database. If the database does not exist the rst time you launch the program, MongoDB will create it for ... step is to create a document collection that somehow is like a schema on a RDBMS database, declare it as a database, and put it inside a document named textmessage, whose value is the string ... Developer's Guide Avoid being stung by JBoss HornetQ messaging service whether you're an existing user or a newcomer with this agile, fast-paced, example-rich guide Piero GiacomelliBIRMINGHAM...