Interface: MicroserviceContext
Defined in: packages/microservices/src/interfaces/packet.interface.ts:44
Contextual information injected via the MessageCtx decorator.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
getData | <T>() => T | Returns the typed message payload. | packages/microservices/src/interfaces/packet.interface.ts:52 |
getPattern | () => string | Returns the serialized pattern string. | packages/microservices/src/interfaces/packet.interface.ts:50 |
pattern | string | Record<string, unknown> | Pattern that matched this message. | packages/microservices/src/interfaces/packet.interface.ts:46 |
transport | string | Transport name (e.g. "redis", "tcp", "rabbitmq"). | packages/microservices/src/interfaces/packet.interface.ts:48 |