esb

How to dynamically route message in WSO2 ESB based on XML configuration file

我的未来我决定 提交于 2019-12-01 14:19:17
I am trying to route a message based on information in a XML snippet stored as a local entry (key=mapping_id_ep_v1.xml). The id used to look-up the correct endpoint and it is part of the message body. This is the XML snippet used to map id's to endpoints: <mappings> <mapping id="ep_1">http://localhost:8280/services/ep_1</mapping> <mapping id="ep_2">http://localhost:8280/services/ep_2</mapping> <mapping id="ep_3">http://localhost:8280/services/ep_3</mapping> <mappings> I retrieve the id from the body to look-up the endpoint using the following statement: <property name="LOOK-UP" expression="/

How to dynamically route message in WSO2 ESB based on XML configuration file

谁说我不能喝 提交于 2019-12-01 10:43:22
问题 I am trying to route a message based on information in a XML snippet stored as a local entry (key=mapping_id_ep_v1.xml). The id used to look-up the correct endpoint and it is part of the message body. This is the XML snippet used to map id's to endpoints: <mappings> <mapping id="ep_1">http://localhost:8280/services/ep_1</mapping> <mapping id="ep_2">http://localhost:8280/services/ep_2</mapping> <mapping id="ep_3">http://localhost:8280/services/ep_3</mapping> <mappings> I retrieve the id from

WSO2 ESB log is too big, how to set?

爱⌒轻易说出口 提交于 2019-12-01 04:59:01
问题 I do a performance test on WSO2 ESB. And I found the log is too big that can not open. The biggest file is 7.20GB. I think this is a big problem. I want to set every log file less than 20MB, and I want delete old logs automatic. How to set this? Anyone can help me? 回答1: You can configure logging in ESB_HOME/repository/conf/log4j.properties file. Add following configurations in the log4j.appender.CARBON_LOGFILE=org.apache.log4j.RollingFileAppender section. log4j.appender.CARBON_LOGFILE

Getting Started with Jboss Fuse ESB

安稳与你 提交于 2019-12-01 04:14:14
I am new to ESB and trying to understand ESB concepts and real-world use cases. I dug into few of the open-source ESB products, seems like Apache Camel is the most famous one [being from Apache family]. I found out that, majority people use Jboss Fuse which developed on Apache Camel, or it's just few more added features on top of Camel. Though, I am trying and searching the internet for almost half day and couldn't possibly find out when we use ESB and a real-world example scenario and basic tutorial to start and understand the Fuse ESB. Could any one please point me the right direction on how

Getting Started with Jboss Fuse ESB

不打扰是莪最后的温柔 提交于 2019-12-01 01:57:22
问题 I am new to ESB and trying to understand ESB concepts and real-world use cases. I dug into few of the open-source ESB products, seems like Apache Camel is the most famous one [being from Apache family]. I found out that, majority people use Jboss Fuse which developed on Apache Camel, or it's just few more added features on top of Camel. Though, I am trying and searching the internet for almost half day and couldn't possibly find out when we use ESB and a real-world example scenario and basic

WSO2 ESB unknown error code 102511

心不动则不痛 提交于 2019-12-01 01:06:19
I have recently upgraded WSO2 ESB to version 4.7 on the Windows Server 2008 R2 and encountered the next error while simply proxying SOAP request to an endpoint: Receiving response while the handler is in an inconsistent state REQUEST_HEAD ERROR_CODE : 102511 ERROR_MESSAGE : Error in Sender ERROR_DETAIL : Error in Sender ERROR_EXCEPTION : null Thing is, that this error code is not described in the documentation and without an exception it is not obvious what to make of it. The closest code I could find was SND_INVALID_STATE = 102510 and judging from the source code it seems that the request

Multiple consumers for the same message through Unity not working in MassTransit

半城伤御伤魂 提交于 2019-11-30 20:46:10
I'm having a lot of problems lately because of what seems to be a bug in the MassTransit.UnityIntegration package, primarily due to the fact that registration names are not being considered. For instance, if I register my classes like this: var container = new UnityContainer() .RegisterType<Consumes<Command1>.All, Handler1>("Handler1") .RegisterType<Consumes<Command1>.All, Handler3>("Handler3"); A few lines later, I use the LoadFrom extension method to get the registered consumers in the container like this: IServiceBus massTransitBus = ServiceBusFactory.New(_sbc => { _sbc.UseBinarySerializer(

深入解读ESB与SOA的关系

余生长醉 提交于 2019-11-30 20:37:17
至今日,SOA的概念渐渐清晰了。 有关ESB的概念,已经吵了好多年了,还是没有定论。 我个人认为,ESB本来就是抽象的概念,而且内涵丰富,在不同的场合含义不同。因此应该从不同的角度来认识。 一、SOA和ESB一直是没有明确概念的两个缩略词 原因是这两个词包含的内涵太丰富了,无法用一两句话说清楚,并且,这个词在不同的地方含义也有所不同。 SOA----面向服务架构,实际上强调的是软件的一种架构,一种支撑软件运行的相对稳定的结构,表面含义如此,其实SOA是一种通过服务整合来解决系统集成的一种思想。不是具体的技术,本质上是一种策略、思想。 ESB----企业服务总线,像一根“聪明”的管道,用来连接各个“愚笨”的节点。为了集成不同系统,不同协议的服务,ESB做了消息的转换解释与路由等工作,让不同的服务互联互通。 目前ESB与SOA的确切概念依然没有。但可以明确的说SOA就是一种服务集成思想,它的不同实现方式可能差别很大,目前SOA最常见的实现方式是SCA和JBI。 二、ESB究竟是什么 这个问题在个大厂商之间,认识和观点也存在很大差异。 IBM、Oracle等认为ESB是连接服务的一种模式,但一些开源组织和其他厂商认为ESB是一种产品,并且提供了ESB连接解决方案的实现,这种实现可以认为是中间件,也可以认为是组件工具。 对此,我个人的观点更偏向前者,ESB是一种模式,ESB的实现方式也很多

wso2 ESB : Split / Gather Pattern - Single Response

允我心安 提交于 2019-11-30 15:28:42
问题 This is not a question but rather an answer . I am quite new to wso2 ESB and wanted to make a test run implementing the split/gather EIP as part of a POC. I followed the examples I found and immediately got a working config that returned a single response. However to get all the responses back took quite some amount of time to figure out. Most given samples seemed to create the same unexpected result. I hope that if you run into the same kind of problem these lines will be helpfull to you.

wso2 ESB : Split / Gather Pattern - Single Response

萝らか妹 提交于 2019-11-30 14:31:09
This is not a question but rather an answer . I am quite new to wso2 ESB and wanted to make a test run implementing the split/gather EIP as part of a POC. I followed the examples I found and immediately got a working config that returned a single response. However to get all the responses back took quite some amount of time to figure out. Most given samples seemed to create the same unexpected result. I hope that if you run into the same kind of problem these lines will be helpfull to you. Setup I used the soapUI sample service (search operation) as service backend. I sent a combined message