public Bus < M > addDestination ( Destination < M > destination ) { if ( destination != null ) { logger . info ( "adding destination '{}' of class '{}'" , destination . getId ( ) , destination . getClass ( ) . getSimpleName ( ) ) ; destinations . add ( destination ) ; } return this ; }
Adds a destination to this message bus .