Skip to content

Commit

Permalink
Fixed the service id for Transport
Browse files Browse the repository at this point in the history
  • Loading branch information
samnela authored May 26, 2019
1 parent 5a0a399 commit e5e03d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bundle/message_producer.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Transport gives you the access to all transport specific features so you can tun
/** @var Symfony\Component\DependencyInjection\ContainerInterface $container */

/** @var Interop\Queue\Context $context */
$context = $container->get('enqueue.transport.context');
$context = $container->get('enqueue.transport.key.context');

$context->createProducer()->send(
$context->createQueue('a_queue'),
Expand Down

0 comments on commit e5e03d0

Please sign in to comment.