backend/business-management/bin/services/emi-gateway/GraphQlService.js
/**
  * send response back if neccesary
  * @param {any} msg Object with data necessary  to send response
  */
send response back if neccesary
@param {any} msg Object with data necessary  to send response
send response back if neccesary @param { any } msg Object with data necessary to send response
sendResponseBack$(msg) {
    return Rx.Observable.of(msg)
      .mergeMap(({ response, correlationId, replyTo }) =>
        replyTo
          ? broker.send$(replyTo, "gateway.graphql.Query.response", response, { correlationId })
          : Rx.Observable.of(undefined)
      );
  }
sendResponseBack$ ( msg ) { return Rx . Observable . of ( msg ) . mergeMap ( ( { response , correlationId , replyTo } ) => replyTo ? broker . send$ ( replyTo , "gateway.graphql.Query.response" , response , { correlationId } ) : Rx . Observable . of ( undefined ) ) ; }
send response back if neccesary
 @param {any} msg Object with data necessary  to send response
send response back if neccesary @param { any } msg Object with data necessary to send response