mule

Read properties from database and use it instead of mule-app.properties

北战南征 提交于 2019-12-25 07:30:10
问题 I have been able to read the properties from a table in the database as it was described here Reading mule config from database Now, I am not able to apply these properties to the flow configs and also access them as out bound properties in the Java Processor classes through the MuleEventContext's message. Update: below is my flow XML code <flow name="push-data"> <poll doc:name="Push Poll"> <fixed-frequency-scheduler frequency="${push.data.poll.frequency}" timeUnit="MINUTES" /> <set-property

spellcheck-service.cloudhub.io/spellcheck times out from the MuleSoft mule beginner tutorial

此生再无相见时 提交于 2019-12-25 07:21:06
问题 I'm trying to run the program from the beginner tutorial on mulesoft, with the spell check service. I don't know what seems to be going wrong but it seems to time out, I get a mule_error--2. I think the spell check cloud hub service is not running... This is the result: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Started app 'spellchecker' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2013-07-25 15:41:33,413 [[spellchecker].connector.file.mule.default

Maintain Payload State during mule flow execution

谁说我不能喝 提交于 2019-12-25 06:59:32
问题 what is the best way to ensure payload state is maintained during a flow execution. I have a flow that performs multiple database and webservice executions, but everytime i perform a connector execution my payload gets lost. to maintain this. To maintain state, all my connector executions are being performed in a message enricher scope and the responses from these outbound connectors are populated in variables. Even though I feel these are a complete waste of memory. kindly advise. regards

Mule catch exception strategy doesn't trigger on Oracle JDBC IO Error

落花浮王杯 提交于 2019-12-25 06:18:10
问题 I've got a mule flow that queries an Oracle database, every once in awhile the Oracle database will get taken offline for maintenance but when it comes back up Mule will not try to re-establish a connection until I either restart the Mule service or re-deploy the flow. In Mule Studio I saw there was a re-connection strategy... so I could just set it to retry forever like this... <jdbc:connector name="JDBC" dataSource-ref="Oracle_Data_Source" validateConnections="true" queryTimeout="-1"

How can I connect Mule Studio to Jira to create a jira issue?

有些话、适合烂在心里 提交于 2019-12-25 06:16:22
问题 I am trying to connect Mule Studio to jira to create an issue,in local jira. When I try to run my application I am getting Configuration Exception. <jira:config name="MyJira" connectionAddress="http://127.0.0.1:8080" connectionUser="admin" connectionPassword="admin" doc:name="Jira"/> <flow name="jira-create-issueFlow1" doc:name="jira-create-issueFlow1"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/> <jira:create-issue type="Bug"

How can I connect Mule Studio to Jira to create a jira issue?

馋奶兔 提交于 2019-12-25 06:16:10
问题 I am trying to connect Mule Studio to jira to create an issue,in local jira. When I try to run my application I am getting Configuration Exception. <jira:config name="MyJira" connectionAddress="http://127.0.0.1:8080" connectionUser="admin" connectionPassword="admin" doc:name="Jira"/> <flow name="jira-create-issueFlow1" doc:name="jira-create-issueFlow1"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/> <jira:create-issue type="Bug"

How can I connect Mule Studio to Jira to create a jira issue?

喜你入骨 提交于 2019-12-25 06:16:01
问题 I am trying to connect Mule Studio to jira to create an issue,in local jira. When I try to run my application I am getting Configuration Exception. <jira:config name="MyJira" connectionAddress="http://127.0.0.1:8080" connectionUser="admin" connectionPassword="admin" doc:name="Jira"/> <flow name="jira-create-issueFlow1" doc:name="jira-create-issueFlow1"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/> <jira:create-issue type="Bug"

Check actual URL used for request in Mule HTTP Connector

╄→尐↘猪︶ㄣ 提交于 2019-12-25 04:44:15
问题 I'm working on a flow that includes an <http:request> element, but I keep getting unexpected 404 responses. Is there a way for me to check the actual URL that is being requested? I can't see any way to do this within Mule. I also tried using Fiddler as a proxy but can't get any sessions to show up in Fiddler for the requests starting from Mule. 回答1: You can use a proxy like CharlesProxy: http://www.charlesproxy.com/ or something but you can also just use log4j. If you try adding this to your

Custom Lookup in dataweave

房东的猫 提交于 2019-12-25 04:40:29
问题 I have 2 field in the input, one is primary_language & the other is secondary_language. I have a case where I have to lookup values present in these two fields and then return a specific value according to the table. For example If primary language is English & secondary language is null then English will be the output & if primary language is Spanish & secondary is Sign then put None in the output & so on. Can one tell how we can perform this in dataweave in mulesoft. 回答1: Do you really have

Error occured while trying to acquire a cached PreparedStatement in a background thread

好久不见. 提交于 2019-12-25 04:23:33
问题 we are using connection pooling which is provided by mule in Database component. we are getting below error when we applied huge load. configured parameters as : maxConnection=100, minConn=0, autoIncrement =15 waitMillisec=10000 and prepared statement cache size kept it as default(i.e did not configure anything). Could you please assit on this to reslove below. {"timestamp":"2016-10-22T09:28:13,611","level":"WARN","thread":"ActiveMQ Session Task-25","loggerName":"com.mchange.v2.c3p0.impl