Mocking external apis/jms queues

Hello All,

I’m new to gatling, can anybody suggest me on how to mock JMS template with gatling.

Use case: My REST application (spring boot) is posting xml payload to IBM MQ but I want to mock this IBM MQ connection (jmsTemplate) while running performance tests and replace with ActiveMQ.

Thanks,
Shyam Vadikari.