code: @SuppressWarnings( "unchecked" )
      public synchronized void addConsumer( MessageConsumer<? extends Serializable> consumer ) {
          consumers.add((MessageConsumer<Serializable>)consumer);
      }
docs: Adds a new message consumer to this service.
  
  @param consumer a {@link MessageConsumer} instance.