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