Publish Message to Solace Topic or Queue
Let’s create a Mule project to see how we can publish to Solace Topic or Queue
Add the required pom.xml dependencies which we have shown in an earlier post – Connect with Solace from MuleSoft
Add HTTP listener to receive the message payload we want to publish to Solace Topic or Queue
Log the incoming payload
Add the JMS connector to Palette
Drag and drop the JMS publish activity
Click connector configuration and create the configuration – see our earlier post which shows how we create a JMS configuration
Add a transform activity to send the success message
Run the application
Test the endpoint using SOAP UI project
Sample Application – solace-service
Sample SOAP UI project – Solace-soapui-project