import 'dart:developer'; import 'package:angel3_mq/mq.dart'; class ServiceOne with ProducerMixin { Future requestFoo() async { final res = await sendRPCMessage( exchangeName: 'ServiceRPC', routingKey: 'rpcBinding', processId: 'foo', args: {}, ); _handleFuture(res); } void _handleFuture(String data) { log('Service One received: $data\n'); } }