I have already asked a similar question but it was a bit more complex and I did not receive a definitive answer.
My previous question was: REST APIs and messaging
I hope that asking an easier question I will get the answer.
ESBs are used as middleware to "simplify" the integration of applications and services. If I am not wrong, it should be possible to register in the ESB some REST services and make them available to other services and applications.
For example, I should be able to send a message using JMS that will be transformed by the ESB into a call to a REST endpoint.
Is this correct? If yes, is this a functionality available only on ESBs or it is also available on message brokers (such as RabbitMQ or ActiveMQ)?