Permalink
Browse files

add comment about logging

  • Loading branch information...
1 parent 77cc7f4 commit b05287fc930f7d71bac1a3a5c09c2d21f8f0d30a @ryanbrainard ryanbrainard committed Jun 7, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 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);
}
});

0 comments on commit b05287f

Please sign in to comment.