code: protected Long getLong(Exchange exchange, Message message, String name) {
          Object value = getObject(exchange, message, name);
          if (value instanceof Long) {
              return (Long)value;
          } else if (value instanceof Number) {
              return Long.valueOf(((Number)value).longValue());
          } else if (value instanceof String) {
              return Long.valueOf(((String)value).trim());
          }
          return null;
      }
docs: Gets a Long context property.
  
  @param exchange the exchange
  @param message the message
  @param name the name
  @return the property