Skip to content

Commit 2d9eba6

Browse files
author
Floran Brutel
committed
Fix example of "expiration" for RPC Client in README
1 parent 8adfe3c commit 2d9eba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ public function indexAction($name)
435435
{
436436
$expiration = 5; // seconds
437437
$client = $this->get('old_sound_rabbit_mq.integer_store_rpc');
438-
$client->addRequest($body, $server, $requestId, $expiration);
438+
$client->addRequest($body, $server, $requestId, $routingKey, $expiration);
439439
try {
440440
$replies = $client->getReplies();
441441
// process $replies['request_id'];

0 commit comments

Comments
 (0)