You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/microservices/basics.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,7 +205,34 @@ getDate(data, context) {
205
205
}
206
206
```
207
207
208
-
> info **Hint**`@Payload()`, `@Ctx()` and `NatsContext` are imported from `@nestjs/microservices`.
208
+
For bind `@MessagePattern()` only to one transport of microservices in hybrid application with multiple microservices can use second argument which should get value from `Transport` enum
0 commit comments