示例#1
0
 @Override
 protected void doStop() throws Exception {
   endpoint.setActiveConsumer(null);
   super.doStop();
 }
示例#2
0
 @Override
 protected void doStart() throws Exception {
   super.doStart();
   endpoint.setActiveConsumer(this);
 }