esb

stWSO2ESB OutSequence Processing

拜拜、爱过 提交于 2020-02-16 05:23:08
问题 I'm transforming XML request to SOAP via XSLT in WSO2ESB, just wondering is it possible to make request parameter available to be used in response? E.g. <request> <test>123</test> <param1>testing</param1> </request> -> converted to SOAP <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">#S:Body><ns2:testrequest xmlns:ns2="http://xml.testing.com/test">

How to access property from property file in java code( Mule ESB)

依然范特西╮ 提交于 2020-02-04 05:28:07
问题 I am trying to fetch a property from the properties file in java code written in mule. Class Example { @NotBlank("message" = "${prop1}") String key1; String key2; } prop1 is a property stored in properties file prop1 = " 001 | key1 cannot be blank" I want prop1 to be resolved as 001 | key1 cannot be blank . ${propname} doesn't work. I can't use the value annotation as I want to save the value of the property in the message. 回答1: The best approach for this is to not depend on any Mule specific

Difference between SOA and ESB

落花浮王杯 提交于 2020-01-28 16:25:30
问题 I am confused in these web service terminologies SOA, ESB. Anybody please explain. 回答1: SOA is an architectural approach where you expose and encapsulate 'services' in a coarse-grained manner. It does not prescribe any technical mechanism or implementation. SOA is more related to boundary / integration interaction between systems. So if system A exposes services using a SOA I can interact with those services from system B. An ESB on the other hand is a technical implementation that aids in

Difference between SOA and ESB

女生的网名这么多〃 提交于 2020-01-28 16:24:21
问题 I am confused in these web service terminologies SOA, ESB. Anybody please explain. 回答1: SOA is an architectural approach where you expose and encapsulate 'services' in a coarse-grained manner. It does not prescribe any technical mechanism or implementation. SOA is more related to boundary / integration interaction between systems. So if system A exposes services using a SOA I can interact with those services from system B. An ESB on the other hand is a technical implementation that aids in

Difference between SOA and ESB

让人想犯罪 __ 提交于 2020-01-28 16:24:07
问题 I am confused in these web service terminologies SOA, ESB. Anybody please explain. 回答1: SOA is an architectural approach where you expose and encapsulate 'services' in a coarse-grained manner. It does not prescribe any technical mechanism or implementation. SOA is more related to boundary / integration interaction between systems. So if system A exposes services using a SOA I can interact with those services from system B. An ESB on the other hand is a technical implementation that aids in

How to migrate from JCAPS to WSO2 ESB

假如想象 提交于 2020-01-24 14:01:47
问题 We are using a JavaCAPS (JCAPS 5.X and 6.X) and want to migrate to WSO2 ESB. Now the question is how we can migrate with as much automatic migration as possible. TThe JCDs can be migrated to a custom mediator class that is being by a WSO2 proxy or sequence. But our main issue is the migration of the different OTD(Object Type Definitions) like DatabaseStockedProcedure, WebService, CustomTextFile, ... Are there any tools or howto guides to convert the JCAPS components to WSO2 compatible

Using “Mule Requester” and FTP loses originalFilename

白昼怎懂夜的黑 提交于 2020-01-23 03:30:51
问题 I am working on a flow that will, when triggered by an HTTP request, download files from an FTP server. In order to do this on request, instead of on polling, I am using the Mule Requester. I have found that without the requestor, FTP connector will set the "incomingFilename" on the inboundProperties collection for each of the files. When used with the Mule Requester, the filename property is not set, therefore I have no idea what file I am processing... or in this case saving to the file

New Mule version 3.7.0 gives timeout exception when i try to read feed via simple HTTP

我的梦境 提交于 2020-01-15 20:56:42
问题 Just updated to mule esb version to 3.7.0 and end up breaking the system. I just created simple HTTP connector to load feed from web site and its throwing timeout exception even after setting the max timeout as 2 minutes. Sample Code : <http:request-config name="HTTP_Request_Configuration" host="www.theaggie.org" port="80" basePath="/feed/" doc:name="HTTP Request Configuration"> <http:proxy host="xxxxx" port="8080" username="xxxx" password="xxxx"/> </http:request-config> <flow name="testFlow"

New Mule version 3.7.0 gives timeout exception when i try to read feed via simple HTTP

偶尔善良 提交于 2020-01-15 20:56:12
问题 Just updated to mule esb version to 3.7.0 and end up breaking the system. I just created simple HTTP connector to load feed from web site and its throwing timeout exception even after setting the max timeout as 2 minutes. Sample Code : <http:request-config name="HTTP_Request_Configuration" host="www.theaggie.org" port="80" basePath="/feed/" doc:name="HTTP Request Configuration"> <http:proxy host="xxxxx" port="8080" username="xxxx" password="xxxx"/> </http:request-config> <flow name="testFlow"

Apache Camel onException

被刻印的时光 ゝ 提交于 2020-01-13 09:49:52
问题 I want to catch all Exception from routes. I add this OnExeption : onException(Exception.class).process(new MyFunctionFailureHandler()).stop(); Then, I create the class MyFunctionFailureHandler. public class MyFunctionFailureHandler implements Processor { @Override public void process(Exchange exchange) throws Exception { Throwable caused; caused = exchange.getProperty(Exchange.EXCEPTION_CAUGHT, Throwable.class); exchange.getContext().createProducerTemplate().send("mock:myerror", exchange); }