hi @PedromDimas
Yes that is possible with RDP, where basically you’ll have a Queue subscribing to the topic and then binding that Queue to a REST Delivery Point that will act as a REST client for your mock server.
Here’s one code labs that might be useful.
In addition to that, couple of points I’d like to promote around RDP:
- learn more about the dynamic stuff, which is the substitution expression documented here.
- the topic can be many, and with finer grain topic name, the Queue can then subscribes with a wildcard to make things more interesting and flexible.