简体   繁体   English

如何在WSO2 ESB中使用WSO2 MB

[英]How to use WSO2 MB in WSO2 ESB

I've tried using WSO2 Message Broker individually,it works well and fine. 我已经尝试过单独使用WSO2 Message Broker ,它运行良好。

Actually, I've created two separate Java Application which acts as sender and receiver. 实际上,我创建了两个独立的Java Application,它充当发送者和接收者。 Both the applications uses amqp connection string to initiate the connection. 两个应用程序都使用amqp连接字符串来启动连接。 Used Apache Ant server to build the application. 使用Apache Ant服务器构建应用程序。

Now I want to integrate the Message Broker with the WSO2 ESB. 现在我想将Message Broker与WSO2 ESB集成。

Suggest me the best way to use the Message Broker in my Web application using the ESB . 建议我使用ESB在我的Web应用程序中使用Message Broker的最佳方法

I get confused with sometimes, 我有时会感到困惑,

confusion 1 : Difference between Message Store and Message Broker . 混淆1Message Store和Message Broker之间的区别

confusion 2 : Does the Web Application requires connection string to use message broker 混淆2Web应用程序是否需要连接字符串才能使用消息代理

I hope it will be better if you can understand basic concepts of Message Broker. 我希望你能理解Message Broker的基本概念会更好。

Message broker is a simply handle messaging functionalities. 消息代理是一种简单的处理消息传递功能。 In WSO2 MB, we use amqp as the protocol. 在WSO2 MB中,我们使用amqp作为协议。

Confusion 01 : Message store in ESB is a place where you use to store messages. 混淆01 :ESB中的消息存储是用于存储消息的位置。 In ESB you can configure store as in memory, jms etc. Through that, store qualities will be differ. 在ESB中,您可以将存储配置为内存,jms等。通过它,存储质量将有所不同。 (Ex: In memory messages deleted after server restart) (例如:服务器重启后删除的内存消息)

While configuring jms message store, we can use message broker. 在配置jms消息存储时,我们可以使用消息代理。 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. 混淆02 :当您连接到消息代理时,您应该按照文档中的描述创建连接。

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 您可以参考有关MB / ESB集成的文档: https//docs.wso2.com/display/MB310/Integrating+WSO2+ESB https://docs.wso2.com/display/ESB500/Configure+with+WSO2+Message +经纪人

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在WSO2 AS 5.2.1上设置和部署WebSocket? - How to setup and deploy WebSocket on WSO2 AS 5.2.1? WSO2应用程序服务器5.0.1:如何将应用程序作为根上下文运行? - WSO2 application server 5.0.1: How to run app as root context? 如何在WSO2中设置Web APP的访问超时? - How to set access timeout for Web APP in WSO2? 在WSO2 Application Server 4.1.2中加载爆发式战争 - Loading an exploded war in WSO2 Application Server 4.1.2 WSO2 AS服务器传递日期以创建Solr日期时出错 - WSO2 AS server Error when passing date to create solr date 在WSo2应用程序服务器上部署多个WebService应用程序 - Deploy more than one WebService applications on WSo2 Application server 如何使用 nextjs 将文件(<16MB,word,pdf)上传到 MongoDb? 由于复杂性,我不想使用 GridFS - How do I upload a file(<16MB, word, pdf) to MongoDb using nextjs? I do not wish to use GridFS because of the complexity 如何减少 Angular JS 应用程序的大小,其中 vendor.js 为 2MB,app.js 为 720KB? - How to reduce size for Angular JS app where vendor.js is 2MB and app.js is 720KB? 如何有效地满足该用例? - How to satisfy this use case effectively? 如何在Tapestry中使用OSGi服务 - How to use OSGi services in Tapestry
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM