Questions tagged [mule4]

Version 4 of Mule, a lightweight enterprise service bus (ESB) and integration framework provided by MuleSoft

Mule is a lightweight enterprise service bus (ESB) and integration framework provided by MuleSoft. According to the documentation, Version 4 aims at simplifying the expression language and reducing management complexity. This way, it shall be possible to deliver applications faster than in earlier versions of the product.

1166 questions
-1
votes
1 answer

How to convert an array of Strings into a String with a separator string in Mule

I have an array that I want to append only at the end of of each line; The array looks like this; [ "9011fc3g-8c8d-43f5-abc7-147845cbdd63", "fg8aeb41-210z-49d7-aa25-19da525b6b89", "8eb39er-d8g7-462c-9b69-1d5a1e3bf994", …
Makavelines
  • 111
  • 6
-1
votes
1 answer

Message body was 'null', which is not a value of a supported type

Message body was 'null', which is not a value of a supported type ERROR I need to publish my payload which is: { "items": { "compressString": "Unquitternuncaganayunganadornuncaabandona", "index": [2,10,16,21,23,26,34,40] …
-1
votes
1 answer

How to use for loop in Dataweave?

I need to translate the given payload to 6 different language (I used translator API), I only translated one language using the code below: %dw 2.0 output application/json --- { "text": [payload], "source": "en", "target": "et" } INPUT…
-1
votes
1 answer

Dataweave cannot transform csv to text / plain

i want to convert this csv input payload to text/plain but I got error. Input payload…
Lukica93
  • 1
  • 1
-1
votes
1 answer

Where are the files stored on cloudhub

Per my understanding, cloudhub is a PaaS service and we can deploy applications directly to Cloudhub. I have below questions Can we create intermediate files on cloudhub. If yes, how can we define the path ? When we use SFTP to pull file from…
darshan kamat
  • 374
  • 7
  • 23
-1
votes
1 answer

Mule 4 : Dataweave : how to do the below transformation?

Please help with the below transformation Input…
Bibek Kr. Bazaz
  • 505
  • 10
  • 34
-1
votes
1 answer

In Mule 4,how can I save the data I retrieve from database using database connector?

Suppose I retrieve a row having a particular id using database connector.If I have to save a particular field lets say name in a variable for later use.How can I do that?
DP2002
  • 41
  • 5
-1
votes
1 answer

couldn't able to write a File in FTP from Mulesoft Cloudhub

Getting the below error while trying to connect to FTP from Cloudhub. Found exception trying to obtain path /XX/XXXX/XXXXXXX_20200721151112.dat. Ftp reply code: 150. Ftp reply string: 150 Opening ASCII mode data connection for file list Below are my…
Sai Kumar
  • 1
  • 1
-1
votes
1 answer

startdate passing in queryparams as string as 07/21/2020 and dayCount as integer 30. in mule 4 want enddate from startdate and dayCount

startdate passing in queryparams as string as 07/21/2020 and dayCount as integer 30. enddate: (vars.asOfDate as Date {format : "mm/dd/yyyy"} + ("P$(numberOfDays)D" as Period)) as Date {format: "MM/dd/yyyy"} as String startdate passing in queryparams…
naren
  • 105
  • 2
  • 13
-1
votes
1 answer

How to centralise application properties outside project structure in mule 4

I have a requirement to keep all property file outside project in mule 4. I would appreciate any help regarding this. If there is any way to access property files from outside. I was trying zuul reffering to this link. But there is no support for…
-1
votes
1 answer

Is it possible to associate a hyperlink to string in mule 4 response?

I am trying to build a flow, where I want to show an URL(hyperlink) in the response, which on click will open another flow end-point. Example: GET /list output: { "object" :{ "accounts" : **url**, "customer" : **url** } } I want to add the…
user12277274
  • 105
  • 2
  • 15
-1
votes
1 answer

How to create a flow in runtime in mule 4

I want to create a new mule flow in runtime based on a flow-template. I found that Java module in mule 4 may help me with this, so in my main flow, I tried to invoke Java instance method:
-1
votes
1 answer

How to run the mule job based on an event

i want to run my mule flow only when the file arrives at a particular path.How to do that. since event wait is not there in mulesoft, i thought of running the job every 30 minutes .So that it check the file and run. But the problem here is, it is…
gunjan gupta
  • 51
  • 1
  • 12
-1
votes
1 answer

Need help on converting date from number to string format in Mule4

We have a requirement wherein we have to convert the date obtained in number format to String format using data weave 2.0. Below is the snippet of input date that we receive, want to perform transformations on that value.
Manvitha
  • 21
  • 3
-1
votes
2 answers

Maven deployment configuration is not valid to deploy Mule 4 application in Mule standalone

I'm deploying Mule 4 application in Mule standalone server 4.2 to start mule runtime(mule.bat)and command (mvn package deploy -DmuleDeploy) from the project directory but I'm getting below mentioned error. I have added my plugin from the pom.xml.…
Devendra
  • 219
  • 2
  • 22
1 2 3
77
78