esb

WSo2 Esb filtering messages to an output file Part 2

僤鯓⒐⒋嵵緔 提交于 2019-12-11 11:13:53
问题 Ok, this is a continuation to my original question. (WSo2 Esb filtering messages to an output file) After a couple more days of research into the iterate and aggregate mediator I have reached a progress wall and would be very grateful for any advice how to resolve my blocking issue. The task at hand is simple, read and xml file, filter on certain records, and only produce an output xml file with just those records that meet the criteria. After previous discussion and research this tasks

How to do database transaction rollback in wso2 esb or wso2 dss

我的梦境 提交于 2019-12-11 10:53:35
问题 I am inserting into three tables using Box_caring feature, insertion happening properly but if some error comes in between while inserting into tables its not roll backing the data. I'm looking for a solution to the following challenge:Have a set of related tables. They are related by primary/foreign key relations and need to update/insert objects in the related tables. Insert/update happening inside iterator mediator. what happens when one of the updates/insert fails? Will all the inserted

Mule exception strategy does not stop flow from processing

╄→尐↘猪︶ㄣ 提交于 2019-12-11 09:27:26
问题 I've the following scenario. If for some reason the FTP upload fails (in this case I entered wrong credentials), the catch exception strategy is called correctly, but I still see the message Upload complete. in my log files. Why does the flow continue its execution after an exception occurs? <flow name="mainFlow" doc:name="mainFlow"> <vm:inbound-endpoint path="test" exchange-pattern="one-way" /> <choice> <when expression="#[flowVars.fileToUpload != null]"> <set-payload value="#[flowVars

Building a cache with Talend SOAP webservices

放肆的年华 提交于 2019-12-11 08:45:42
问题 I am trying to build a cache for a SOAP webservice in Talend : an input parameter "reinitCache" can be set to true if the cache has to be rebuilt (like once a day). Otherwise the cache is simply read , and the SOAP response is sent. Unfortunately, I tried to do this with tHash components, and while it is working well inside the studio, once deployed on Karaf it is not working anymore : around 50% of the time, an error "tHash is not initialized" is risen.. It seems like tHash components are

Create pass through with Mule ESB 2.2.1

冷暖自知 提交于 2019-12-11 08:43:13
问题 I'm attempting to set up a config file for Mule ESB 2.2.1 that routes incoming requests to another box. This seems straight forward, but I am getting connection refused exceptions and I'm not sure why. Here is the model from my Mule configuration file: <model name="ProxySample"> <service name="HttpProxyService"> <inbound> <http:inbound-endpoint address="http://localhost:8787" synchronous="true"/> </inbound> <outbound> <pass-through-router> <outbound-endpoint address="http://server2.xyz.com

Mule ESB IMAP questions

拈花ヽ惹草 提交于 2019-12-11 06:49:21
问题 Currently we need fetch mails from an IMAP server using Mule ESB. Once the mails have been fetched, we only need the attachments and save them on the harddrive. So far so good. Now I got a couple of questions: How do I keep the original name intact using a file:outbound-endpoint? How can I check how many attachments I got? How do save a copy of the mail on the IMAP and local drive? @1: I tried #header:fileName or #originalFileName or even removing the outputpattern (this results in the

Mule ESB - Catch Exception Strategy block and Payload

99封情书 提交于 2019-12-11 06:29:30
问题 Mule documentation states that catch-exception-strategy is similar to java catch block. But unfortunately, the payload is consumed (message is consumed); from the catch block the payload is lost (unlike a java method where you can access the method input parameters from a catch/finally block). The problem with this design is that at any instance, (from the catch strategy flow) it is impossible to know the error and last known enriched payload which was used (which caused the error?). This

WSO2 ESB alters the wsdl

ぐ巨炮叔叔 提交于 2019-12-11 06:07:28
问题 I have a backend service which I configure as a proxy service in WSO2 ESB. The ESB exposes slightly different wsdl, which is also valid and works as expected. The problem is I can't use my old stubs with the ESB wsdl because of the changed structure. I want to create the service in such a way that the wsdl from ESB is EXACTLY the same as my endpoint service. Is such approch poissible or do I need to generate again the stubs (this would require a lot of effort in my case)? EDIT: The difference

Encrypting and storing new passwords via the Management Console

我只是一个虾纸丫 提交于 2019-12-11 05:07:09
问题 I am trying to store password in wso2 management console so that I can refer it using an alias in my API configuration files. I am following below steps: Manage -> Secure Vault Tool and then click Manage Passwords-> Add New Password to encrypt and store: management console: adding password alias After clicking on add I get the below error "Failed to load security key store information ,Configure secret-conf.properties properly" I am struggling with this issue, don't know what I am missing. I

How to kick off a mule flow to read messages from a JMS queue using an HTTP endpoint

青春壹個敷衍的年華 提交于 2019-12-11 02:55:53
问题 I basically have two flows : HTTP Inbound endpoint receives batch XML, splits to individual pieces and stages it to a JMS queue. Reads the staged XMLs from the JMS queue and processes the messages. I need to control the execution of flow 2 above using a Rest call (i.e) flow 2 should run only when an HTTP inbound call is received. I am using Mule version 3.2.2 Here are the flows: <flow name="flow-stage-input"> <http:inbound-endpoint host="localhost" port= "8082" path= "test/order" exchange