executables/notification_subscribe.js
function subscribe() {
  openSTNotification.subscribeEvent.rabbit(
    ['#'],
    {queue: 'openst_platform'},
    function (msgContent) {
      logger.debug('[RECEIVED]', msgContent, '\n');
    }
  ).catch(function (err) {
    logger.error(err);
  });
}
function subscribe() {
  openSTNotification.subscribeEvent.rabbit(
    ['#'],
    {queue: 'openst_platform'},
    function (msgContent) {
      logger.debug('[RECEIVED]', msgContent, '\n');
    }
  ).catch(function (err) {
    logger.error(err);
  });
}
function subscribe ( ) { openSTNotification . subscribeEvent . rabbit ( [ '#' ] , { queue : 'openst_platform' } , function ( msgContent ) { logger . debug ( '[RECEIVED]' , msgContent , '\n' ) ; } ) . catch ( function ( err ) { logger . error ( err ) ; } ) ; }
Subscribe to all events of rabbit.
Subscribe to all events of rabbit .