简体   繁体   中英

How to use WSO2 MB in WSO2 ESB

I've tried using WSO2 Message Broker individually,it works well and fine.

Actually, I've created two separate Java Application which acts as sender and receiver. Both the applications uses amqp connection string to initiate the connection. Used Apache Ant server to build the application.

Now I want to integrate the Message Broker with the WSO2 ESB.

Suggest me the best way to use the Message Broker in my Web application using the ESB .

I get confused with sometimes,

confusion 1 : Difference between Message Store and Message Broker .

confusion 2 : Does the Web Application requires connection string to use message broker

I hope it will be better if you can understand basic concepts of Message Broker.

Message broker is a simply handle messaging functionalities. In WSO2 MB, we use amqp as the protocol.

Confusion 01 : Message store in ESB is a place where you use to store messages. In ESB you can configure store as in memory, jms etc. Through that, store qualities will be differ. (Ex: In memory messages deleted after server restart)

While configuring jms message store, we can use message broker. Then Message broker queue can be used as store. In here we create an queue and point it as message store. So message will be stored in that queue.

Confusion 02 : While you connecting to message broker, you should create the connection as described in documentation.

You can refer documentation regarding MB/ESB integration: https://docs.wso2.com/display/MB310/Integrating+WSO2+ESB https://docs.wso2.com/display/ESB500/Configure+with+WSO2+Message+Broker

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM