@Override
    public boolean add(JobPo jobPo) {
        try {
            template.save(jobPo);
        } catch (DuplicateKeyException e) {
            // already exist
            throw new DupEntryException(e);
        }
        return true;
    }
@author Robert HG (254963746@qq.com) on 5/28/15.
lts-core/src/main/java/com/github/ltsopensource/queue/mongo/MongoExecutingJobQueue.java