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
2 answers

Can I override org.mule.api.processor.LoggerMessageProcessor?

Overriding the default logger in mule so that I have some custom details to be sent to the logger threadcontext every time before the log message is print. Especially before the default payloads are print.
1
vote
3 answers

dataweave2.0 transformation in mule 4 based on conditions

I've to write some transformation and calculation based on condition like count of cash/dd/cheque receipt and sum of cash/dd/cheque in the summary array. I've defined my input array and based on that i'm expecting the output that I've defined. Help…
Devendra
  • 219
  • 2
  • 22
1
vote
1 answer

How to convert java object to JSON after java:invoke in mule 4

I am working with mule 4. I am invoking a java method and it returns a java object as payload. If a try to print the payload, I get something like com.myproject.services.DataInjectorManager$MyClass@7606ba6e. How Could I transform this to JSON? My…
1
vote
1 answer

Where to use curly brace and open brace in data weave

I have an input like this to data weave code [ { "CountryCode": "????", "District": "????", "ID": 1, "Name": "????", "Population": 1 }, { "CountryCode": "????", "District": "????", "ID": 200, "Name":…
kushma gonna
  • 236
  • 3
  • 19
1
vote
0 answers

Implications of Mule runtime version change from 3.8.x and 3.9 to 3.9.2

Have a few projects that need to run at the same time so have one run/debug configuration. Not all projects have the same mule runtime (EE) and I want all of them under the same runtime version. One is 3.8.4, another – 3.9.0 and the rest – 3.9.2.…
Tomeister
  • 675
  • 2
  • 9
  • 26
1
vote
1 answer

How to pass Java object to a Java function in mule

I am trying to invoke a java function in mule.I converted the payload into the Object and passed it in the function. The name of the Java object created is req. The method validate accepts a Java Object Of type Example public HashMap
HMT
  • 2,093
  • 1
  • 19
  • 51
1
vote
0 answers

How to access the payload when implementing the validator interface?

I have to validate the incoming json payload and throw custom errors if the json is not valid. I tried implementing the validator interface as shown in the above image. But how should I access the payload now?In earlier versions the method accepted…
HMT
  • 2,093
  • 1
  • 19
  • 51
1
vote
2 answers

One mule app server in cluster polling maximum message from MQ

My mule application is comprised of 2 nodes running in a cluster, and it listens to IBM MQ Cluster (basically connecting to 2 MQ via queue manager). There are situations where one mule node pulls or takes more than 80% of message from MQ cluster and…
Sambit Swain
  • 131
  • 1
  • 13
1
vote
1 answer

Using bitronox manager, XA not working with my custom dev-kit adapter

I developed my custom connector with dev-kit, my connector act as a source it connect to ejb and extract the data, and send to the another end point. I am using bitronix for transaction manager. I used the below code to register my ejb in the mule…
1
vote
1 answer

Reconnect strategy in File inbound endpoint?

Do we have a "reconnect strategy" in File inbound endpoint? I don't think as it has only on the FTP connector. But the article screen showed that it's available. https://dzone.com/articles/mulesoft-file-connector
NGBeginner
  • 403
  • 1
  • 3
  • 14
1
vote
2 answers

How to get a value from an array in Mule 4

I wanted to get a value in an array without using absolute array positioning. Here is my json payload. { "xyz":{ "abc":[ { "account":[ { "value":"savings" } ] } ] } } How…
1
vote
0 answers

Transactions in Spring + Mule + JDBC

I want to provide transactions in my project. I have ESB with Spring and mySQL. When I send a request to register endpoint, user appears in database and this is good behavior. Then I try to force rollback by throwing RuntimeException and there is no…
Mateusz
  • 61
  • 5
1
vote
1 answer

NameResolvingRequestBuilder$RotateIpListFactory error when calling external rest URL from a mule flow

I have written below mule flow which calls another external rest URL "http://localhost:7070/rest/products" through-flow reference. The external URL returns a list of products and its server is up and running. But when I call the URL through a mule…
Sami Kh
  • 117
  • 2
  • 14
1
vote
1 answer

Create Global Function in Dataweave 1.0

I am running %dataweave 1.0 . I need to create a function which should replace some code values according to a certain payload which is received from an API call in my Mule flow. The sample API output is given below: This is stored in a session…
Triumph Spitfire
  • 663
  • 15
  • 38
1
vote
2 answers

Format JSON Payload for Multiple Arrays

I need to format an incoming payload JSON to a certain manner. The sample payload JSON is given below. [ { "value": { "States": [ { "Name": "New South Wales", "Code": "NSW" } ] } }, { …
Triumph Spitfire
  • 663
  • 15
  • 38