mule-studio

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"

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

Mule ESB: How to take all the files in a folder inside Bucket of Amazon S3 ( get object content)

杀马特。学长 韩版系。学妹 提交于 2019-12-25 03:14:10
问题 i'm using Amazon S3 , My bucket have mutiple files in a input folder.i need to take all files in a folder and process it, right now i can able to take one file and process it by providing the key value. But not sure how to take all the files in a bucket (input is my folder name in a bucket) at a one shot. Please find my config below <s3:config name="Amazon_S3" accessKey="myKey" secretKey="MySecretkey" doc:name="Amazon S3"/> <flow name="s3Flow1" doc:name="s3Flow1"> <http:inbound-endpoint

SQL Update statement with MEL expression - Mule

别等时光非礼了梦想. 提交于 2019-12-25 03:00:17
问题 I have a SQL UPDATE statement, to update a particular record to the Database within a mule flow. I am having problems with including MEL expression within the statement and the SQL is not getting executed in my flow. I am trying the next command: UPDATE CUSTOMERS SET STATUS=#[flowVars['TxnStatus']] WHERE REF_NUM=#[flowVars['ReferenceNumber']] where TxnStatus and ReferenceNumber are flow variables in my mule Flow. It looks seemingly simple, but the record is not updated. When I try a similar

SQL Update statement with MEL expression - Mule

半腔热情 提交于 2019-12-25 02:59:45
问题 I have a SQL UPDATE statement, to update a particular record to the Database within a mule flow. I am having problems with including MEL expression within the statement and the SQL is not getting executed in my flow. I am trying the next command: UPDATE CUSTOMERS SET STATUS=#[flowVars['TxnStatus']] WHERE REF_NUM=#[flowVars['ReferenceNumber']] where TxnStatus and ReferenceNumber are flow variables in my mule Flow. It looks seemingly simple, but the record is not updated. When I try a similar

How to respond custom JSON to HTTP request in MULE ESB

主宰稳场 提交于 2019-12-25 02:42:59
问题 i am using mule studio i am connecting to postgressql for data selection i am doing well i just struck in middle .i am sending curl request to mule like this curl -H "Content-Type: application/json" -d '{"id":"1"}' http://localhost:8081/selectdb i am getting response from database but unable to format the data as per client requirement. my config is like this <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf" xmlns:scripting="http://www.mulesoft

mule post json data to mule endpoint url

自作多情 提交于 2019-12-25 02:07:20
问题 <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP" contentType="application/x-www-form-urlencoded" path="getDetails" /> <object-to-string-transformer doc:name="Object to String"/> <logger message=" Logging ...... #[message.payload]" level="INFO" doc:name="Logger"/> <logger level="INFO" message=" Logging mule.......#[message.payloadAs(java.lang.String)]" doc:name="Logger"/> <logger level="INFO" message="Logging demo .......... #[payload]"

mule post json data to mule endpoint url

試著忘記壹切 提交于 2019-12-25 02:05:43
问题 <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP" contentType="application/x-www-form-urlencoded" path="getDetails" /> <object-to-string-transformer doc:name="Object to String"/> <logger message=" Logging ...... #[message.payload]" level="INFO" doc:name="Logger"/> <logger level="INFO" message=" Logging mule.......#[message.payloadAs(java.lang.String)]" doc:name="Logger"/> <logger level="INFO" message="Logging demo .......... #[payload]"

Global Catch Exception Strategy is not used

烈酒焚心 提交于 2019-12-25 01:49:23
问题 I have defined a global exception strategy, but when Mule executes my Groovy script it does not execute the Global Catch Exception Strategy, but rather executes the org.mule.exception.DefaultSystemExceptionStrategy. <!-- Define Global Catch Exception Strategy --> <catch-exception-strategy name="catchExceptionStrategy"> <logger level="ERROR" message="Component X: #[exception]" doc:name="Logger"/> <logger level="ERROR" message="Component X: E1_Error Service exited with errors. Please see the