if (log.isTraceEnabled()) {
log.trace("validate " + this);
}
if (destination == null || destination.trim().equals("")) {
throw new InvalidPropertyException("destination is mandatory");
}
if (connectionFactory == null || connectionFactory.trim().equals("")) {
throw new InvalidPropertyException("connectionFactory is mandatory");
}
}