@Override
 public void onMessage(final Message message, final byte[] pattern) {
   try {
     @SuppressWarnings("unchecked")
     OutBoundCommentProxy proxy =
         objectMapper.readValue(message.toString(), OutBoundCommentProxy.class);
     commentService.broadcastCommment(proxy);
   } catch (JsonParseException e) {
     e.printStackTrace();
   } catch (JsonMappingException e) {
     e.printStackTrace();
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
 @Override
 public void onMessage(final Message message, final byte[] pattern) {
   System.out.println("Message received: " + message.toString());
 }