mule-el

Why DB response ( resultSets) are being divided in two splits in Mule ESB

前提是你 提交于 2019-12-25 01:32:59
问题 I'm querying DB to get the response through Mule. Response are being populated, but not sure why it is being divided inside resultSet1 (if it is larger). Could see here in logger, ResultSet1 end tag is </custo ( not completly finished as ), it is being extended with same Key( XML_F5RYI-11YTR ) and there it is finished mers> . Do I need to do any configuration settings in Mule DB level to propogate all the resultSet1 in same level ? Actually My ultimate aim is to extract the resultSet1, second

MULE: xpath expression not extracting values from payload

我的梦境 提交于 2019-12-24 16:56:36
问题 I've got a simple flow, it takes an XML messages, splits it into sub elements and now I am trying to get a value, but getting unexpected results. My XML looks like this: <?xml version="1.0" encoding="UTF-8" ?> <ns0:RewardOfferDetail xmlns:ns0="http://example.com/schemas/v1_0/RewardOffer"> <ns0:Offer> <ns0:OperationCode>U</ns0:OperationCode> </ns0:Offer> <ns0:Offer> <ns0:OperationCode>A</ns0:OperationCode> </ns0:Offer> </ns0:RewardOfferDetail> I need to extract the <OpeartionCode> from each

MULE ESB Server: RAML loading for prolonged time

萝らか妹 提交于 2019-12-24 16:32:55
问题 I created a mule application and able to run/deploy it on my machine successfully. On running api-console is appearing in Anypoint-studio like this. Now when I deployed this application on mule ESB server and try to hit api-console for this application using the following URL "https://mulesoft:ESB****/api/console" Mule is saying RAML loading for prolonged time like the one shown in below image. I am not able to resolve the issue after working hours on it, If anyone can suggest possible

How to pass parameters and load the wsdl using Web Service Consumer in Mule

[亡魂溺海] 提交于 2019-12-14 03:23:40
问题 Hi I am working with Mule Studio and i just want to know how can i pass the parameters and call the particular Operation from SOAP using the Web Service Consumer component. Payload i am setting as #[{'Orlando','United States'}] for the operation GetWeather The sample SOAP service i am using is LINK 回答1: Here you have a video demonstration on how to do it. Here the manual Page, and here an example. If you don't want to use DataMapper, I would recommend to use a CXF client or to write a

Mule - split a big JSON list into multiple smaller JSON lists

强颜欢笑 提交于 2019-12-13 12:22:07
问题 I have a list of json objects containing about 200 objects. I want to split that list into smaller lists where each list contains max 20 objects each. I would like to POST each sublist to HTTP based endpoint. <flow name="send-to-next-step" doc:name="send-to-vm-flow"> <vm:inbound-endpoint exchange-pattern="one-way" path="send-to-next-step-vm" doc:name="VM" /> <!-- received the JSON List payload with 200 objects--> <!-- TODO do processing here to split the list into sub-lists and call sub-flow

Deleting records from Salesforce via Mulesoft ESB

℡╲_俬逩灬. 提交于 2019-12-13 05:22:38
问题 I am trying to delete list of records from Salesforce via Mulesoft ESB. I have already create an example project on github and the flow xml can be found here. The xml snippet for deleting records is below: <sfdc:delete config-ref="Salesforce__Basic_authentication" doc:name="Salesforce"> <sfdc:ids ref="#[payload]" /> </sfdc:delete> where, payload data type is List of string. While deleting the records I am getting below exception: ERROR 2015-11-05 23:39:39,755 [[tutorial].HTTP_Listener

How the Mule Listen other Web Application Data?

半腔热情 提交于 2019-12-13 04:38:33
问题 I Want to integrate Salesforce and JIRA by Using Mule. Both are Connecting Properly by using Hard Code. But i want when i am trigger the object in salesforce that time mule accept receive the data of object in salesforce. In Mule Not Listen my salesforce object data. What i do. if the Ip Address is "Localhost" is enough.or must need any realtime URL.The Following code used for recive the account details when i run the local url. instead of i want when i trigger the salesforce i recive the

Mule Enrichment: enrich xml payload with http endpoint response

匆匆过客 提交于 2019-12-13 03:44:43
问题 I'm new to mule and working on a POC. I want to enrich the payload(target.xml) by calling an http endpoint which returns xml as response (source.xml) . <flow name="mule-configFlow" doc:name="mule-configFlow"> <jms:inbound-endpoint doc:name="JMS" connector-ref="Active_MQ" queue="QUEUE1"/> <logger message="#[message.payload]" level="INFO" doc:name="Logger"/> <enricher doc:name="Message Enricher" target="#[xpath:Customer/OfficeId]"> <http:outbound-endpoint exchange-pattern="request-response"

Using mulerequester when there are more than one jms or wmq connector

给你一囗甜甜゛ 提交于 2019-12-13 02:14:06
问题 This is continuation from How to use Mule Expression in JMS:selector but a different question. I am using mulerequester to read off the queue as shown below. <mulerequester:request config-ref="Mule_Requester" resource="wmq://REPLY.QUEUE?selector=JMSCorrelationID%3D'#[sessionVars.myCorrelationId]'" doc:name="Mule Requester" timeout="120000"/> It works if I have one wmqConnector but I have 2 wmq connectors in my mule project (wmqconnector and wmqconnector1), pointing to different servers.

How to pass Headers using HTTP component in Mule

强颜欢笑 提交于 2019-12-12 05:59:27
问题 Hi I am working with Any Point Studio and i want to pass headers with the current request with a key value pair How to achieve that using existing HTTP Component. 回答1: You can invoke the HTTP Inbound through Mule Client, here is an example: MuleClient muleClient = new MuleClient(muleContext); Map<String, Object> headers = new HashMap<String, Object>(1); headers.put("key", "456453N123"); MuleMessage result = muleClient.send("http://localhost:8081/prm", PAYLOAD, headers); The HTTP headers are