mule-studio

Mule ESB: Are the Log4j Config for Batch in Mule need separate configuration?

≡放荡痞女 提交于 2019-12-11 22:50:13
问题 I have log4j config file, it seems to be working for normal flows, but when comes to batch it is not working, not sure what has to added in config file in specific to batch. Please help on this issue <appender name="FILE" class="org.apache.log4j.RollingFileAppender"> <param name="file" value="C:\Users\Logs.log" /> ............ <layout class="org.apache.log4j.PatternLayout"> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="LevelMin" value="INFO" /> <param name=

How to Extract the value of resultSet returned from JDBC response (Via MEL) Mule ESB

我只是一个虾纸丫 提交于 2019-12-11 21:36:56
问题 I have JDBC where I'm calling the stored Procedure, It is returning the response as below, But I'm pretty not sure how to extract the value of result set Please find the response from DB {updateCount1=4,resultSet1=[{XML_F5RYI-11YTR=<Customers><Customer1>John<Customer1><Customer2>Ganesh<Customer2><Customers>}],resultSet2[{SequenceNumber=94}],updateCount2=1, updateCount3=4} I have used the this expression #[message.payload.get(0)] , It has return the ResultSet as below, But not exactly value

Use Mule data mapper in embedded mode

爱⌒轻易说出口 提交于 2019-12-11 19:49:01
问题 Is there a constraint on using Mule data mapper in embedded mode. My application is deployed as WAR file in tomcat. Can I use data mapper in that ? 回答1: You would need data mapper runtimes also on the container you're running application in. Data mapper uses Clover engine runtimes. Mule EE container is equipped with it. As, Data Mapper is an enterprise only feature and you'd have Mulesoft support if you're planning to use it, its best to log a ticket with them. In my experience you won't be

Mule ESB 3.4.0 CE: Unable to find custom log4j appender in MuleStudio, but works in Mule Standalone

怎甘沉沦 提交于 2019-12-11 19:44:37
问题 I am trying to do some development and I am using log4j to log some events into our database. I made a subclass of the JDBC appender so we can properly interface with our database. The log4j.properties file is located at src/main/resources. However, when I run off of MuleStudio, I get this output: log4j:ERROR Could not instantiate class [com.mycompany.mule.log.appender.MySuperAppender]. java.lang.ClassNotFoundException: com.mycompany.mule.log.appender.MySuperAppender at java.net

Blocking=“false” is not working in JDBC Reconnection in 3.4.2

亡梦爱人 提交于 2019-12-11 19:26:02
问题 In JDBC Reconnection strategy implemented blocking as false.. so when we try to deploy the application, even though JDBC connection fails applicaion should be deployed.But Application is not getting deployed in server. Following is the xml code <jdbc-ee:connector name="FTPDatabase" dataSource-ref="MySQL_FTP_Data_Source" validateConnections="true" queryTimeout="-1" pollingFrequency="0" doc:name="Database"> <reconnect blocking="false" frequency="10000" count="3"/> </jdbc-ee:connector> 回答1: In

Mule Caching Strategy using Mongo DB

一曲冷凌霜 提交于 2019-12-11 14:19:36
问题 Is it possible to use the org.mule.module.mongo.MongoObjectStore as a cache strategy within a flow? I have attempted with the following but I get the error null (java.lang.NullPointerException) org.mule.module.mongo.MongoObjectStore:382 (null). <mule xmlns:jdbc-ee="http://www.mulesoft.org/schema/mule/ee/jdbc" xmlns:mongo="http://www.mulesoft.org/schema/mule/mongo" xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:http="http://www

Accessing mule-app.properties in custom properties file located in src/main/resources on cloudhub

匆匆过客 提交于 2019-12-11 13:37:29
问题 I have a mule application built using mule apikit. The mule-app.properties file contains below property: orig.db.url=jdbc:db2://mmrs001.nmd.net:1004/dudu:user=abc43;password=xxxx; The custom properties file src/main/resources/dev.properties contains below property: db.url=${orig.db.url} And, the mule configuration xml file contains below property-placeholder: <context:property-placeholder location="dev.properties"/> Now, when I deploy it locally everything works fine and I am able to run the

how to achieve retry mechanism for ftp outbound end point using vm transaction?

我怕爱的太早我们不能终老 提交于 2019-12-11 13:16:38
问题 We have tried like using vm as outbound in flow1 and inbound in flow2. In flow2 we are using FTP as outbound end point and we have enabled the vm transaction even then also its not working. Do we need to enable transaction for retrying? As per below question we tried using transaction how to make until successful as synchronous to retry mechanism for FTP Outbound in mule 3.4.2 could you please help me out in resolving this issue?? <flow name="FTPFlow1" doc:name="FTPFlow1"> <set-payload doc

Mule ESB choice flow control route

ぃ、小莉子 提交于 2019-12-11 11:59:19
问题 In Mule I have the following flow : there is a choice flow control which test the input and verify if the input String equals 'ctr1'. <flow name="mediationFlow1" doc:name="mediationFlow1"> <file:inbound-endpoint path="C:\MuleStudio\SandBox\input" pollingFrequency="3000" responseTimeout="10000" doc:name="File"/> <file:file-to-string-transformer doc:name="File to String"/> <choice doc:name="Choice"> <when expression="payload=='ctr1'"> <cxf:jaxws-client operation="find" serviceClass="services

how to use value of #[server.dateTime.weekOfYear] in mule-app.properties or configuration xml

空扰寡人 提交于 2019-12-11 09:23:46
问题 I am downloading files from FTP. I am able to download files with defined patterns or defined name and pass then process these files in Java. Problem I am facing is that I need to download a new file every week. The file name is like "constant-prefix-2013-W51.zip" . My current XML is like this; <ftp:inbound-endpoint host="${ftp.host}" port="${ftp.port}" path="${ftp.pathInbound}" user="${ftp.user}" password="${ftp.password}" responseTimeout="10000" doc:name="KBB_FTP" > <file:filename-wildcard