InboundMetadata
Defined in: packages/hoppity/src/interceptors/types.ts:11
Metadata available to inbound wrappers when a message is received. Provides contract identity and raw AMQP message headers so wrappers can extract trace context or other propagated data.
Properties
Section titled “Properties”contract
Section titled “contract”contract:
EventContract<string,string,ZodTypeAny> |CommandContract<string,string,ZodTypeAny> |RpcContract<string,string,ZodTypeAny,ZodTypeAny>
Defined in: packages/hoppity/src/interceptors/types.ts:13
The contract this handler is bound to
kind:
"event"|"command"|"rpc"
Defined in: packages/hoppity/src/interceptors/types.ts:15
Operation kind — drives span naming and metric labels
message
Section titled “message”message:
object
Defined in: packages/hoppity/src/interceptors/types.ts:19
AMQP message surface — headers for trace context extraction, properties for message metadata
headers
Section titled “headers”headers:
Record<string,any>
properties
Section titled “properties”properties:
Record<string,any>
serviceName
Section titled “serviceName”serviceName:
string
Defined in: packages/hoppity/src/interceptors/types.ts:17
The service name from hoppity.service()