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 overcome fire and forget problem in foreach loop mule 3

Send the incoming payload to the foreach loop ,After the foreach loop can't get the response payload from the foreach loop.
Integraty_dev
  • 500
  • 3
  • 18
1
vote
1 answer

Mule 4 and Dataweave: how to omit stacktrace when using fail() from dw::Runtime

I have a DataWeave message transformer, let's say: %dw 2.0 import fail from dw::Runtime output application/java fun isValuePresent(value, message: String) = if ( value == null or isEmpty(value) ) fail(message) else value --- { brand:…
hc0re
  • 1,806
  • 2
  • 26
  • 61
1
vote
1 answer

Transform a xml into java object using mule 4.3 kernal (CE)

We can transform a xml payload into java object by mapping elements using Transform Message component in Mule 4.3 EE. Can we transform a xml into java object using mule 4.3 kernal (CE) instead of using EE ?
1
vote
1 answer

With Mule runtime 4.3.0 we are facing below issue while deploying ,however everything is working fine with 4.2.2 and 4.3.0-20210119 Verstion

Facing below error with Mule Runtime Version 4.3.0-20210319 While deploying the application in to couldhud,But same application Working fine with 4.3.0-20210119 and 4.2.2 Version, Your application has failed with…
Panish
  • 11
  • 3
1
vote
1 answer

Mule 4 Runtime - Clear Application Data of a batch process

I was having intermittent issue running a Mule Batch with huge data in Anypoint Studio. That issue is resolved by enabling 'Always' option under 'Clear Application Data' in 'Run Configurations' (as per the given instruction in Mule ESB - Clear…
San4musa
  • 277
  • 2
  • 12
1
vote
2 answers

Convert properties from properties file into json in Dataweave 2.0

How to convert properties from a properties file creditmaster.metadata.AverageFicoScore=700 creditmaster.a.b.c=xyz into this json format in a generic way { creditmasterMetaData: [ { attributeKey: "AverageFicoScore", …
Hassan Raza
  • 106
  • 12
1
vote
1 answer

convert {"abc": "" } to in dataweave

I have the following input INPUT: JSON: { "abc": "" } Expected output: XML: dataweave used: %dw 2.0 output application/xml ns xsi http://www.w3.org/2001/XMLSchema-instance --- (if(payload.abc == "") (abc…
Sufi
  • 186
  • 1
  • 2
  • 12
1
vote
1 answer

What are the General Development Best Practices in MuleSoft

What are some common best practices one needs to consider while developing Apps in MuleSoft for clients, focusing Anypoint Studio 7.x.x and Mule 4. List down your recommendations, which you have followed with any clients. Please Note: I asked this…
Thinker-101
  • 554
  • 5
  • 19
1
vote
0 answers

How much time do I have to wait once exceeded the 10 TPS with the Mule 4 Object Store V2?

Background As per the MuleSoft docs on Object Store V2 FAQ's, I am aware of the free tier Object-store TPS Vs The Purchased SKU rate limit. If OSV2 SKU is purchased you get a - Rate limit of 100 TPS, else it will be 10 TPS. I have not purchased any…
Thinker-101
  • 554
  • 5
  • 19
1
vote
1 answer

Mule Cloudhub Anypoint MQ - Configuring exclusive access to individual queues

we are using Anypoint MQ. We are looking for options to configure access to individual queues exclusively, so that they are accessible to only certain apps. But, based on our research it looks like - with anypoint credentials we can browse messages…
1
vote
2 answers

How to set headers/queryparams in mule4 as a varibale/payload beforhand?

In mule4 at RequestProcessor we set some hedaers and queryparams. eg: for headers; output application/java --- { "xXX- applicationid" : vars.'applicationid', "XX-username" : p('username'), "XXX-signature":vars.'signature' } …
Ratha
  • 9,434
  • 17
  • 85
  • 163
1
vote
1 answer

How do you unit test dataweave code using Mulesoft's Dataweave Assersion Library?

I want to unit test Dataweave code without using the MUnit message processors in Anypoint Studio. I am following this documentation https://docs.mulesoft.com/munit/2.2/dataweave-assertions-library. I've attempted to get the following code to run in…
1
vote
1 answer

Extracting key Value from Json - Mule Dataweave

I'm unable to get the key value from Json. Please find the details below xml to Json conversion. Input XML: 1001
star
  • 1,493
  • 1
  • 28
  • 61
1
vote
1 answer

Problem with "when and otherwise" condition

I will let the code do the explanation. Dataweave gives errors: Unable to resolve reference of when Unable to resolve reference of otherwise Input Message: An array of objects. Though I have given only 1 object here. [{ "Field1" : 12345, …
Nadeem
  • 77
  • 1
  • 12
1
vote
3 answers

Unable to concatenate a string with another variable

This is my code. %dw 2.0 output application/java var plantDesc = payload.somevalue var str1 = "\"plantDescFull\" = " ++ "\"" ++ plantDesc ++ "\"" --- { testValue : str1 } I need the output to be { testValue : ""plantDescFull" =…
Nadeem
  • 77
  • 1
  • 12