File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,8 @@ class UploadPictureConsumer implements ConsumerInterface
226226- [ ] Dynamic consumer
227227- [ ] Batch consumer
228228- [ ] Anon consumer
229- - [x] Rpc client (в разработке)
230- - [x] Rpc server (в разработке)
229+ - [x] Rpc client
230+ - [x] Rpc server
231231- [ ] Logged channel
232232
233233## Credits
Original file line number Diff line number Diff line change 44 */
55
66$ arModuleVersion = [
7- 'VERSION ' => '1.1.0 ' ,
8- 'VERSION_DATE ' => '2021-07-13 00 :00:00 ' ,
7+ 'VERSION ' => '1.1.1 ' ,
8+ 'VERSION_DATE ' => '2021-07-13 15 :00:00 ' ,
99];
Original file line number Diff line number Diff line change 22
33namespace Proklung \RabbitMq \Examples ;
44
5+ use PhpAmqpLib \Message \AMQPMessage ;
6+
57/**
68 * Class RandomIntServer
79 * @package Proklung\RabbitMq\Examples
810 */
911class RandomIntServer
1012{
11- public function execute ()
13+ public function execute (AMQPMessage $ request )
1214 {
13-
14- }
15+ return [ ' request_id ' => mt_rand ( 1 , 123 )];
16+ }
1517}
You can’t perform that action at this time.
0 commit comments