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
2
votes
1 answer

Accessing multiple files in a multipart request

Most of the documentation in Mule regarding multipart relates to making a request and not processing an incoming request. I'm looking to receive multiple files in an incoming request as an array and then loop through them to upload to another…
Matt P
  • 147
  • 1
  • 6
2
votes
1 answer

Reverse ordering in Mule4 using Date field

I wanted to do reverse ordering using Date field from highest to lowest (DSC). This question is similar to the below link Reverse ordering in Mule4. Thought small tweaks would make the fix. Tried various ways.Not working. When I try to format date…
star
  • 1,493
  • 1
  • 28
  • 61
2
votes
2 answers

How to flatten nested JSON arrays to single array object

I have 50,000+ json objects buried in nested arrays. I want to pull them out so that they can be in single array. Also these nested arrays are quite random having no pattern. E.g [ [ [ [ [ {"a":1 } ], [ {"b":2 } ] ], [[{"c":3 }]] ] ], [{"d":4 }]…
2
votes
1 answer

How to deploy Mule application jar file in Runtime Fabric with Anypoint Runtime Manager REST API without going though Anypoint Exchange

I want deploy a jar file which is availble for me in my pc to RTF Mule server managed by AKS.I want use ARM rest api. curl --location --request POST 'https://anypoint.mulesoft.com/hybrid/api/v1/applications' \ --header 'x-anypnt-env-id: e21c3d'…
2
votes
1 answer

mule 4 http listener - reconnection when to use?

Using mule 4.4 runtime community edition on premise Am trying to understand HTTP Listener better and came across this attribute: Reconnection Documentation says: When the application is deployed, a connectivity test is performed on all connectors.…
2
votes
1 answer

Uploading image/pdf to slack channel using Mulesoft Slack Connector

i'm trying to use the mulesoft slack connector to upload a pdf file and a png file to a slack channel but i'm not able to configure the settings correctly to make this work. Has anyone been able to do so successfully? Here is my transform message…
2
votes
3 answers

Memory issues : parse a large csv file transform to json and then call a third party rest service using Mule 4.4 community edition

Using Mule 4.4 community edition - on premise I have a large csv file containing list of employees : 101,John Saunders,19,M,Physics,Chemistry,Mechanics 102,Jim White,17,M,Languages,Art,Pottery ... ... The file size is 700MB This file will be…
2
votes
1 answer

How to raise a Custom Error With Internal payload (error.errorMessage.payload) in MUnit

A little description of the flow: I have a flow that is making an HTTP call to a REST Webservice. There are a couple of errors that we get as statusCode=500 but with different "errorCodes" inside the response body. This request connector is wrapped…
Harshank Bansal
  • 2,798
  • 2
  • 7
  • 22
2
votes
1 answer

How to group a JSON dataset by two properties and sum the value in dataweave?

I have a data set which I am trying to group by two separate keys, but nested. I have tried to use the groupBy method but I am then having a hard time with the sum within the keys. I have also tries to use the pluck method but that also seems to…
anonMule
  • 91
  • 2
2
votes
1 answer

How to remove the DTOSteps node which contains id using mule 4

I am trying to remove DTOSteps node if it contains an ID attribute. Input XML:
codey_08
  • 249
  • 1
  • 11
2
votes
1 answer

In Mule 4 is there any any way to run the Mule-Batch in synchronous Mode

In Mule 4 is there any any way to run the Mule-Batch in synchronous Mode I have done several projects using mule batch component. Now present case we have a situation where need to dependent on the output produced by the mule batch component.For my…
2
votes
1 answer

Database Columns values mismatch when creating csv pipe seperated file from database records

Mule 4 App has been doing select from a SQL Server database around 20k rows and convert result set into pipe separated csv file and push the file to s3 using s3 connector. In the database, we have columns like aId, bId, cId etc. When we checked the…
Infinity
  • 484
  • 2
  • 8
  • 21
2
votes
1 answer

Error(500) While Publishing the JSON Payload by Mule Anypoint MQ Publish component ( Mule 4)

Error Message while publishing a JSON payload with the Publish operation of the Anypoint MQ connector: "Failed to publish message to destination 'ABC-queue': An error occurred while executing the operation: SEND ONE MESSAGE. Cause: 500 - Internal…
2
votes
0 answers

How to create a mule 4.3 copy book of flat file for complex data structure?

Need to read a fixed length file and transform it into a java object. Can anyone help to create a mule 4.3 copy book for below data structure transformation? Header headerValue2headerValue3headerValue4headerValue5 T_Level1…
2
votes
1 answer

How to give Relative Path in Mule File Read?

Hi I created a folder and placed a sample XML file in src/main/resources/samplexml/samplxml.xml. File Config i did as In File…
VKP
  • 589
  • 1
  • 8
  • 34
1
2
3
77 78