esb

WSO2 governance registry and enterprise service bus (ESB) can be integrated?

女生的网名这么多〃 提交于 2019-12-03 21:16:23
We use WSO2 tools for our SOA. We are examining the possibility of use of Registry Governance to manage the services available. I wonder if someone has already done the integration of Registry Governance and ESB, so that services are built on only one tool to another and replicated. Please have a look at [1] and [2] [1] http://wso2.org/project/esb/java/4.0.3/docs/deployment_guide.html [2] http://charithaka.blogspot.com/2011/11/wso2-deployment-synchronizer-sharing.html 来源: https://stackoverflow.com/questions/9619425/wso2-governance-registry-and-enterprise-service-bus-esb-can-be-integrated

Mule ESB: how to filter emails based on subject or sender?

99封情书 提交于 2019-12-03 20:14:56
I am new to Mule 3.3 and I am trying to use it to retrieve emails from a POP3 server and download the CSV attachments if the sender field and subject field contain certain keywords. I have used the example provided on Mulesoft website and I have successfully managed to scan my inbox for new emails and only download CSV attachments. However, I am now stuck because I can't figure out how to filter emails by subject and sender fields. Doing some research I have come across a message-property-filter pattern tag that can be applied to an endpoint, but I am not sure exactly to which endpoint to

How should an ESB be packaged/deployed?

一笑奈何 提交于 2019-12-03 17:39:40
问题 I am trying to wrap my head around Apache Camel, which appears to be a lightweight ESB. If I understand Camel/ESBs correctly, then you can think of a Camel Route as a graph of nodes and edges. Each node is an endpoint on the route (can consume/produce messages). Each edge is a route between two different endpoints (1 producer and 1 consumer). Assuming that's correct, I have a practical question: what do best practices dictate about deploying your application's ESB/Camel Route? Should I

CDATA in payload factory in WSO2 ESB

六月ゝ 毕业季﹏ 提交于 2019-12-03 16:48:46
I am trying to write a sequence in ESB and populate my payload data by using payload factory as i stated below example. <payloadFactory> <format> <p:echoInt xmlns:p="http://echo.services.core.carbon.wso2.org"> <in xmlns="">$1</in> </p:echoInt> </format> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" expression="an-xml-formatted-string"/> </args> </payloadFactory> <send> <endpoint> <address uri="http://noon101:8280/services/echo" format="soap11"/> </endpoint> </send> Because my string is formatted as xml when i send this payload to the service, the service tries to parse my xml parameter

How to Solve Message payload is of type: BufferInputStream Exception in Mule

三世轮回 提交于 2019-12-03 13:38:37
I am already transforming to byte array but i constantly get this error : ERROR 2015-02-25 11:12:30,517 [[ESR].HTTP_Request_Listener.worker.01] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Response code 400 mapped as failure. Message payload is of type: BufferInputStream Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Response code 400 mapped as failure. Message payload is of type: BufferInputStream (org.mule.module

Mule ESB 3.4 Context property

匿名 (未验证) 提交于 2019-12-03 10:10:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: How can one access the properties loaded by context:place-holder in a scripting component other than having to use ${property-name} ? I want to get to the object that holds these key value pairs. Something like context.getProperty("property-name") . 回答1: Spring property placeholders are resolved at configuration time and not stored anywhere, so they cant be loaded afterwards. If you need to store it you can always inject them into a bean and retrieve that from the registry. Basically all you need to do is to declare your bean:

Mule ESB 3.6 - Best way to convert BufferedInputStream to XML

匿名 (未验证) 提交于 2019-12-03 08:33:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a Mule ESB project using HTTP Connector where I want to use XPath to split/route the XML. The message payload after the HTTP Connector is a org.glassfish.grizzly.utils.BufferInputStream. What is the best way to transform this to a type where I can use a component such as a 'Splitter' or 'Expression' (using XPath) to split/route it? The 'Object to XML' doesn't seem to work and the splitter doesn't work when the payload is a String (i.e. using Object to String after HTTP). I would rather not write a custom Java transformer if there are

ESB MULE passing the parameters to the java method

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I use MULE version 3.3.0 CE, I want to get some value from header in inbound and then pass it to a java method, in java method making some changes on passed value, finally again I pass it from java method to the outbound???? 回答1: Instead of tying your Java beans to the Mule API (with Callable ), you can do this using MEL only, for example with: <invoke object-ref="yourBean" method="yourMethod" methodArguments="#[message.inboundProperties['inboundPropertyName']]" /> <set-property propertyName="outboundPropertyName" value="#[payload]" /> This

Enterprise Service Bus Terminology

柔情痞子 提交于 2019-12-03 07:35:52
问题 Can anyone explain at a beginner-intermediate level the terminology of "bus", "transport" and "endpoint" in the context of an enterprise service bus? I'm a C# developer with a few years experience now, but only just starting working with an ESB. It seems that the "bus" is effectively a queue to which you can send and receive messages. I'm fine with that. However I'm working on some existing code using NServiceBus and I think if I grokked the "endpoint" and "transport" terminology I'd make a

Which Camel construct is suited for transforming?

时间秒杀一切 提交于 2019-12-03 07:32:40
Apache Camel offers several ways of performing data transforms: its concept of the Transform EIP, custom DataFormats, as well as its allowance for custom Type Converters. I have a situation where I need to do a very complex transform from inside a Camel route. Should I be implementing my own Type Converter, my own DataFormat, or should I implement org.apache.camel.Expression and put all the transform stuff in there: public class MyTransformer implements Expression { @Override public <T> T evaluate(Exchange arg0, Class<T> arg1) { // ... } } I guess I'm confused about where/when it's appropriate