SyncTransport
in package
implements
TransportInterface
Transport that immediately marks messages as received and dispatches for handling.
Tags
Table of Contents
Interfaces
Properties
- $messageBus : mixed
Methods
- __construct() : mixed
- ack() : void
- get() : iterable<string|int, mixed>
- reject() : void
- send() : Envelope
- stop() : void
Properties
$messageBus
private
mixed
$messageBus
Methods
__construct()
public
__construct(MessageBusInterface $messageBus) : mixed
Parameters
- $messageBus : MessageBusInterface
ack()
public
ack(Envelope $envelope) : void
Parameters
- $envelope : Envelope
get()
public
get() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>reject()
public
reject(Envelope $envelope) : void
Parameters
- $envelope : Envelope
send()
public
send(Envelope $envelope) : Envelope
Parameters
- $envelope : Envelope
Return values
Envelopestop()
public
stop() : void