Questions tagged [mule-esb]

Mule, the runtime engine of Anypoint Platform, is a lightweight Java-based enterprise service bus (ESB) and integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data. Used for questions related to Mule ESB until version 3.7.0.

Mule, the runtime engine of Anypoint Platform, is a lightweight Java-based enterprise service bus (ESB) and integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data. It enables easy integration of existing systems, regardless of the different technologies that the applications use, including JMS, Web Services, JDBC, HTTP, and more. The ESB can be deployed anywhere, can integrate and orchestrate events in real time or in batch, and has universal connectivity.

The key advantage of an ESB is that it allows different applications to communicate with each other by acting as a transit system for carrying data between applications within your enterprise or across the Internet. Mule has powerful capabilities that include:

Service creation and hosting — expose and host reusable services, using the ESB as a lightweight service container

Service mediation — shield services from message formats and protocols, separate business logic from messaging, and enable location-independent service calls

Message routing — route, filter, aggregate, and re-sequence messages based on content and rules

Data transformation — exchange data across varying formats and transport protocols

Doc. here

595 questions
1
vote
1 answer

How to handle attachment and JSON data passed through form-data of postman to ESB flow?

Working on Mule 3.8 For emailService with attachment I have referred one of the earlier post (question) (how to upload a file and json data in postman) which has answer by @gce user. I followed the same. But now I am facing different issue. My JSON…
JavaDev
  • 51
  • 1
  • 5
1
vote
0 answers

Set Cookies into Mule HTTP Request

I have requirement to set cookies into mules HTTP Request component. I verified different possibilities but no success. I am using Mule 3.9 CE. Any suggestion? I tried below (Use Cookies is enabled) Enabled User Cookies option for HTTP Request…
Mind Peace
  • 905
  • 8
  • 29
1
vote
0 answers

Remove Double Quotes and Comma in a String in Complex CSV Data Using Dataweave

I have CSV based Incoming Request Data from Salesforce. It has Columns which contains Characters like Double quotes and Comma. All the columns are encased in double quotes and contains characters like Extra Quotes and Comma. Input and output…
RV_Mule
  • 61
  • 1
  • 6
1
vote
0 answers

Mule Runtime 4.2.1 Anypoint 7.3.4: Cannot copy message with a stream payload

Facing below runtime error after upgrading from Mule Runtime 4.2.0 to 4.2.1. Below detailed my codebase, and quick error message, and detailed error logs for review. Please suggest, if anyone faced the same problem? I referred to other similar…
ravibeli
  • 484
  • 9
  • 30
1
vote
1 answer

Unable to find Mule repo in public Git repo

I am not able to access the below git public repo, is it removed? If so where we need to get the Mule-3/4 community kernel codebase. Can anyone advise? https://github.com/mulesoft/mule
NGBeginner
  • 403
  • 1
  • 3
  • 14
1
vote
5 answers

Do while in Mule 4.0

I need to create a 'do while' loop in Mule 4.0. I need a loop which will terminate on a given condition. Unfortunately, I cannot seem how to do this in Mule 4.0. Using recursive loops, although not ideal, used to work in Mule 3, but no longer in…
malteser
  • 485
  • 2
  • 10
  • 27
1
vote
1 answer

for-each loop in Mule DataWeave 2.0

Does Dataweave 2.0 has for loop? For example I have the following code %dw 2.0 var value = 0 var myArray=[1,2,3,4,5] output application/json --- { value : myArray[3] } the variable value will have a value of 4 in this case. Is it possible to…
borna
  • 906
  • 3
  • 12
  • 32
1
vote
1 answer

"Redirecting into HTML page"

I have a flow where I am trying to load a HTML page if successfully login or fails. Flow is working but while doing POST job on browser side it's not redirecting to the loginSuccessful.html or login/loginFailure.html.
Devendra
  • 219
  • 2
  • 22
1
vote
1 answer

Define global dataweave function in mule 3

I am defining the global function for payload but in the dataweave 1.0 I am not able to do the task. I have to define a separate global dataweave file where I have to add the conditions for payload like if gender== "male" then title= "mr." How can I…
Devendra
  • 219
  • 2
  • 22
1
vote
2 answers

How to fix "AttributeError: 'module' object has no attribute 'SOL_UDP'" error in Python Connector Mule

I'm trying to execute a basic script to return Cisco Config File as a JSON Format, and I have a success process over Python2.7.16 and Python 3.7.3, but when I'm trying to execute the same script over Python Connector for Mule ESB I receive the error…
Esteban
  • 71
  • 1
  • 9
1
vote
1 answer

How to break out of loop in filter, map etc in dataweave 1.0?

I think the question is pretty self explanatory. How to break out of a loop in map, filter and other such operators that loop? (or at least a workaround to achieve this) Thanks
vikram92
  • 94
  • 9
1
vote
2 answers

Sequence of numbers from 1 to 100 in a List in Mulesoft

I have a list with a sequence like #[[1,2,3,4]. I want to define another list with sequence of numbers from 1 to 100. I tried to use #[[1..100]] but this is not allowed. How can i achieve this in mulesoft ?
user94538
  • 177
  • 5
  • 24
1
vote
1 answer

Mule4 using read connector to read a file

I am very new to Mule4 and using it for the first time. I am trying to move a file from one directory to another. I have a "Read file" connector and "Write file" connector. In the Read connector, I specified the file path and the working directory.…
borna
  • 906
  • 3
  • 12
  • 32
1
vote
2 answers

Why in mulesoft "on Error Propagate" rethrows the same error?

I am new to mulesoft and while studing it i strugle to understand why on module "onErrorPropagate" the error is being rethrown after executing the scope. can you explain the benefits?
Ion Utale
  • 551
  • 1
  • 9
  • 22
1
vote
1 answer

Overload error in Mulesoft workflow when transforming Excel file from an AWS S3 bucket

I am using Mule 4 and Anypoint Studio 7. I looking to get a list of objects from an AWS S3 bucket, read each xlsx file and transform the message so it is has some new column names. When I do this I get an error: Unable to call any overload of…
user3165854
  • 1,505
  • 8
  • 48
  • 100