It's possible to send message from an EI API to the message broker but not consume them.
Most basic sending setup:
<endpoint>
<address uri="jms:/<queueName>?transport.jms.ConnectionFactoryJNDIName=myQueueConnectionFactory&transport.jms.DestinationType=queue"/>
</endpoint>
For consuming you will need a proxy.
I don't know your exact use case of course but usually in these kinds of situations the API will forward to a queue and the mediation will be handled by a proxy afterwards.
https://docs.wso2.com/display/EI610/JMS+Support
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…