

Using Mule 4 Consuming the data from the rest web service and publishing it to Active MQ queue or topic using Mule 4.
using Mule 4 Configuring the data consumed in array format.
Create a Queue or Topic in the Active MQ.
Creating a mule4 flow in order to consume the rest of web service data and to publish it into Active MQ queue/topic.
using Mule 4



If the expectation is to add the data to a queue provide the queue name into the destination and the destination type as Queue and set the body as payload.
If the expectation is to add the data to a topic provide the topic name into the destination and select the destination type as Topic and set the body as payload.
Save and run the flow.
Once the build and deployment are successful.
Send the request through postman by giving the necessary host, protocol, and endpoint details which are provided in the HTTP listener.
If the response status is 200OK the data will be consumed and added to the Queue/Topic successfully.
The data from any Rest web service can be consumed and added to the JMS queue or topic.
Using this way the data can be added successfully to the JMS queue/topic.