Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

wso2esb - Use API instead of Proxy in wso2 ei message broker

Is it possible use api instead of proxy in communication between message broker and ei on wso2? I've studied about connection message broker and enterprise integrator, but in all documents implementation was with proxy service. So, because of authentication and some topics related to api in wso2 I need to implement api instead of proxy service. How I can implement and connect to message broker on enterprise integrator with api?

question from:https://stackoverflow.com/questions/65856090/use-api-instead-of-proxy-in-wso2-ei-message-broker

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...