Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

I have a flow that uses a batch process to synchronize data into two target systems after receiving data from a source. The batch contains two steps, and each step is encapsulated inside a try scope ...
S4L4H's user avatar
  • 452
1 vote
1 answer
108 views

I am working in Mule 4 using DataWeave 2.0 and trying to transform a multipart/form-data payload that contains a CSV file. Here is a simplified example of my input payload (multipart): ----------------...
Sunny85's user avatar
  • 77
0 votes
2 answers
100 views

I am trying to create mule project for Mule Community edition. I cannot use studio for this particular use case. I was trying the following steps mvn archetype:generate \ -DarchetypeGroupId=org....
Siva's user avatar
  • 98
3 votes
2 answers
243 views

I will be receiving a .dat file which contains multiple pdf files encoded as base64 string which will be separated by a new line or some character. Initial approach is read -> payload splitBy “\n” -...
veejay's user avatar
  • 115
0 votes
1 answer
91 views

I am using the MuleSoft Transform Message component to initialize variables testIP and testDomain. It works well when the payload is not empty, but throws an exception when the payload is null or ...
stewchicken's user avatar
0 votes
2 answers
53 views

I need to get all elements which has key ending with TXI, to a single array using simple 1 or 2 lines. Tried various ways using mapObject(), However it doesn't work with the nested structure. Also ...
Pramodya Mendis's user avatar
-1 votes
1 answer
76 views

Using Mule 4.5.0, I need to read in a large text file (~1GB-2GB) line by line (/n) and generate individual mule messages of each line. Using dataweave and the foreach scope I was able to stream the ...
William's user avatar
  • 97
0 votes
1 answer
133 views

I'm trying to read a Table data in MYSQL DB using Mulesoft SELECT connector, but it's failing with the following error below java.lang.RuntimeException: Attempted to send invalid data through http ...
user avatar
0 votes
1 answer
51 views

How can I merge the following two lists ids and attributes based on the matching did field and for each matched pair increment the iterid values For example I have two lists below. size of the list ...
John's user avatar
  • 1
0 votes
0 answers
121 views

I'm building an API in MuleSoft (Mule 4) using RAML and APIkit. I need to pass a query parameter that contains forward slashes (/) in its value. example : https://{{host}}:{{port}}/api/v1/school/S/AZ/...
codeseeker's user avatar
0 votes
1 answer
184 views

We have an older Mulesoft application deployed to cloudhub. A username / password needed updated in a config file so I pulled the app from github and changed the user/pass. Then checked the code ...
jthorn's user avatar
  • 25
0 votes
1 answer
58 views

So i'm currently trying to build an older project and i'm facing an issue with dependencies. Specifically, org/mule/tools/maven/mule-app-maven-plugin The problem, is that this dependency is only ...
Tomas Breuer's user avatar
1 vote
2 answers
65 views

I am trying to get a Maven build to work properly. I am on a VM workstation that has a jdk15 install. I can only add files to my user directory. The mule-app-maven-plugin-1.1.pom has a few issues that ...
Keith Fosberg's user avatar
-1 votes
1 answer
691 views

Mule runtime Version: 4.9.0 JDK: 17.0.12 I am using Anypoint studio version 7.21 and not able to connect to the Oracle SQL database through the insert connector. I have tested the database ...
PurpleSkittles's user avatar
0 votes
1 answer
142 views

I am working on building a Mulesoft application that GETs a bunch of information from one API endpoint, transforms it and makes a POST to another endpoint. However, when I try to make a POST that has ...
elegantcomplexity's user avatar
0 votes
1 answer
136 views

I have my input as json, where I have to derive the quantity based on one field shippingNode. Mapping: data/availableQuantity/supplyQuantity The conditions are as below If shippingNode is starting ...
MyDream's user avatar
  • 45
1 vote
1 answer
92 views

I need to remove everything thing starting with "[@" and ending with "]" in the given XML. The text that falls in-between these sqaure brackers should also be removed. I tried the ...
Zak01's user avatar
  • 33
0 votes
1 answer
57 views

I need to add namespace and prefix(ns0) to the root tag of an existing XML. I tried doing it with the piece of code below. However the output has removed all the existing attributes that were already ...
Zak01's user avatar
  • 33
0 votes
1 answer
106 views

I have a JSON payload that I need to convert into an XML. However that JSON payload has many fields starting with '@' which are supposed to be the XML attributes. So when I converted those into XML ...
Zak01's user avatar
  • 33
0 votes
1 answer
76 views

Here are the details of connector: <salesforce:sfdc-config name="MySFDC_Connector" fetchAllApexRestMetadata="true" readTimeout="30"> <salesforce:jwt-...
boomslaw's user avatar
0 votes
0 answers
121 views

I dont' know how to connect to Azure Event Hub Emulator Azure event hub emulator: link What I tried: Use the official connector: https://docs.mulesoft.com/azure-event-hubs-connector/latest/azure-...
haiduong87's user avatar
0 votes
1 answer
99 views

Here is my curl code - it works fine: $url="XXXXXX"; $key="XXXXXX"; $data='[{"producerNumber":"0500555"}]'; $relativeUrl = '/producer/npn'; $...
Veera Raghava Prasad Govindara's user avatar
0 votes
1 answer
77 views

[ "{ "Context" : [ { "PeriodOfServiceId" : "30000020", "PersonName" : "LANA, LANA", "PersonNumber" : "259", &...
Elizabeth Goldy Antony's user avatar
0 votes
1 answer
255 views

I want to modify error.errotType to something else. How can I do that? I do not see any option to update error object in Mule 4. Also why in 'raise-exception', type field can not be set dynamically i....
Vatsal Mehta's user avatar
0 votes
0 answers
37 views

in a circuit breaker context, we are trying to publish rabbit messages in a "headers" exchange. We're using the AMQP publish connector (version 1.7.4) in mule 4.4.0, and we're trying to ...
Zyoumir's user avatar
  • 73
1 vote
1 answer
107 views

I am working with MuleSoft DataWeave 2.0 to process an XML payload. I need to extract the second <wd:ID> element where the attribute wd:type equals "Learning_Course_ID". Here is a ...
Rhoda_Mumo's user avatar
-1 votes
1 answer
93 views

I have a payload as follows: { "relatedParty": [ { "id": "001", "Role": "Account" }, { "id": "006",...
user2260040's user avatar
  • 1,428
0 votes
2 answers
83 views

My requirement is to read a file with .json extension from an SFTP server and perform some dataweave transformations on it. The issue is the file is very large, at times between 1 and 2GB. The format ...
Catherine Brugge's user avatar
3 votes
1 answer
261 views

When I compiled my Mule project and deployed it to mule-standalone-4.5.0, I got the following error: org.mule.runtime.api.exception.MuleRuntimeException: The artifact bridge-1.0.0-mule-application ...
Norman Lynch's user avatar
0 votes
1 answer
111 views

In the example below, When I create variable in Transform, I sometimes use application/java and some times use application/json . It seems that the target system using this variable doesn't care ...
stewchicken's user avatar
0 votes
0 answers
159 views

When trying to start mule runtime am getting the following error. What is causing this and how it can be fixed ? D:\muletemp\mule-enterprise-standalone-4.8.1\bin>mule.bat MULE_HOME is set to D:\...
Siva's user avatar
  • 98
0 votes
0 answers
168 views

When I try to update the Runtime version from 4.4.0 to 4.6.9 and Mule Maven Plugin (MMP) from 3.5.4 to 4.3.0 the execution of the application shows: javax.xml.parsers.ParserConfigurationException ...
andersoal's user avatar
  • 175
0 votes
1 answer
1k views

When I do the export of a project this error happens: Cannot invoke "org.eclipse.aether.RepositorySystem.newLocalRepositoryManager(org.eclipse.aether.RepositorySystemSession, org.eclipse.aether....
andersoal's user avatar
  • 175
0 votes
1 answer
243 views

I have a payload in XML format, and I need to convert it to JSON. The XML contains many key-value pairs and also a lot of attributes, and I need those attributes to be included in the JSON as well. &...
Anonim's user avatar
  • 93
0 votes
1 answer
111 views

Am trying to parse an input XML payload and transform and generate a response XML. Here is my input XML <?xml version='1.0' encoding='UTF-8'?> <EmployeesInfo> <EmployeeDetails> ...
boomslaw's user avatar
0 votes
1 answer
106 views

I have defined a DataWeave function that takes a string as input and can handle null input as well. However, when I call it with null input, I encounter a syntax error. Could anyone tell me why? ...
stewchicken's user avatar
0 votes
1 answer
90 views

I need a dataweave function which extract fix string to convert it into ISO Date String format fun convertToISO(dateString: String): String = if (dateString == null) "" ...
stewchicken's user avatar
0 votes
1 answer
94 views

I Have a issue in my code and I dont know how to solved, I explaint the situation, I have two arrays of objects; The Payload we need to do a loop and if it math with an item in the array named ...
Jesus Abraham Felix González's user avatar
0 votes
4 answers
158 views

Given an array shown below array: { "documentToSigner": [ { "documentName": "ESRA For aa aa", "typeCd": "...
veejay's user avatar
  • 115
0 votes
0 answers
109 views

How can I filter messages from an IBM MQ based on a custom property or attribute using IBM MQ Mule connector? The use case is that the back end system posts several messages on the Queue which may ...
Andy's user avatar
  • 63
0 votes
0 answers
544 views

Test recorder image I am facing multiple issues with the MUnit Test Recorder in Anypoint Studio while working on a Mule 4.6.7 project with Maven configuration (mule.maven.plugin.version 4.1.2, munit....
VISHNU's user avatar
  • 11
0 votes
1 answer
775 views

I try to run my mule apps under runtime 4.6.7 from anypoint studio IDE. It failed by starting and throws the error (Cannot invoke "Object.getClass()" because "c" is null)for my ...
stewchicken's user avatar
1 vote
3 answers
104 views

I have a array as shown below which is an output of the filter condition. It has fields like documentItemName1,documentItemName2,documentItemName3 at the min it can have on and max of 3. It's like for ...
veejay's user avatar
  • 115
-1 votes
1 answer
135 views

can anyony help me with what is the expeted input string that would be accepted by the regex in this method? Message = input is a string fun getId(Message) = (Message match /betalning_maltid_\{id:([0-...
John Q. Public's user avatar
0 votes
1 answer
239 views

I am working on a Mule 4 api that needs to use Object store v2 . This api is being deployed to Cloudhub 2.0 . whenever the application is deployed / redeployed the checkbox use objectStore v2 is ...
GettingStarted With123's user avatar
0 votes
1 answer
143 views

I have been trying to send to multiple recipients but to no avail. Currently I define a transform to split then join the recipient string then pass it to the email connector, but it fails saying Error ...
E F's user avatar
  • 23
0 votes
1 answer
151 views

I need to sort JSON data which can contain array as well as objects sample data : { "results": [ { "empCode": "abcd", "age&...
GettingStarted With123's user avatar
0 votes
2 answers
80 views

We're upgrading from Mule 3.9.0 to Mule 4.5.0 (Community Edition). We have a few Mule connectors that act as bridges between our application and some third party on the Internet using SOAP. Here is an ...
Norman Lynch's user avatar
0 votes
1 answer
207 views

We have a payload as below: { "API1": "UP", "API2": "DOWN", "API3": "UP" } We need to structure this in HTML and read(using parse ...
Mule-Newbie's user avatar
2 votes
1 answer
1k views

I tried to define Error with typeID and cause for Mock When in MUnit If I put cause as below shown, I got Exception as below, according to Excpetion. I assume Cause Input is expectiong Expression ...
stewchicken's user avatar

1
2 3 4 5
162