Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add comment about logging

  • Loading branch information...
commit b05287fc930f7d71bac1a3a5c09c2d21f8f0d30a 1 parent 77cc7f4
@ryanbrainard ryanbrainard authored
View
2  worker/src/main/java/com/heroku/devcenter/BigOperationWorker.java
@@ -32,6 +32,8 @@ public static void main(String[] args) {
listenerContainer.setMessageListener(new MessageListener() {
public void onMessage(Message message) {
final BigOperation bigOp = (BigOperation) messageConverter.fromMessage(message);
+
+ // simply printing out the operation, but expensive computation could happen here
System.out.println("Received from RabbitMQ: " + bigOp);
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.