Exposing AMQP queue through 3scale API
Environment
- 3scale 2.11.0 On-Premise
- Red Hat AMQ 7.7
Issue
- How to expose AMQP queues via 3scale API ?
- Is it possible to define mapping rules for exposed queues in 3scale API ?
Resolution
APIcast Fuse Extension Policy can be used to write policy extensions in Red Hat Fuse for 3scale API Management. This example of a Fuse Extension Policy shows to perform a message transformation using a Apache Camel application in Red Hat Fuse. However, other Camel components from Enterprise Integration Pattern can be used. AMPQ Apache Camel Component can be used to integrate and expose the AMQP queues through APIcast. The mapping rules can be defined in APIcast.
API request ----> APICast (mapping rules) ----> Fuse Extension Policy (Apache Camel AMQP component) ----> API backend (AMQP queue)
Root Cause
It is not clear from existing documentation how to expose AMPQ queue through 3scale API.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments