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
226
226
- [ ] Dynamic consumer
227
227
- [ ] Batch consumer
228
228
- [ ] Anon consumer
229
- - [x] Rpc client (в разработке)
230
- - [x] Rpc server (в разработке)
229
+ - [x] Rpc client
230
+ - [x] Rpc server
231
231
- [ ] Logged channel
232
232
233
233
## Credits
Original file line number Diff line number Diff line change 4
4
*/
5
5
6
6
$ 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 ' ,
9
9
];
Original file line number Diff line number Diff line change 2
2
3
3
namespace Proklung \RabbitMq \Examples ;
4
4
5
+ use PhpAmqpLib \Message \AMQPMessage ;
6
+
5
7
/**
6
8
* Class RandomIntServer
7
9
* @package Proklung\RabbitMq\Examples
8
10
*/
9
11
class RandomIntServer
10
12
{
11
- public function execute ()
13
+ public function execute (AMQPMessage $ request )
12
14
{
13
-
14
- }
15
+ return [ ' request_id ' => mt_rand ( 1 , 123 )];
16
+ }
15
17
}
You can’t perform that action at this time.
0 commit comments