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

Mulesoft - Failed to read artifact descriptor for org.mule.tools.maven:mule-app-maven-plugin:jar:1.7: Could not transfer artifact

I am setting up an existing mule application but running into below error. any help please.. [ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.7 or one of its dependencies could not be resolved: Failed to…
vangli
  • 53
  • 1
  • 6
2
votes
0 answers

How to connect Cloud Kafka Cluster from Mule 3?

How to connect confluent kafka cluster(Cloud) from Mule 3 kafka connector ? Because i am seeing only Bootstrap Server URL and other options for Producer and Consumer properties only. So there is no option to configure for below…
user2848031
  • 187
  • 12
  • 36
  • 69
2
votes
1 answer

is it possible to Extract file name from octet stream?

I have to send an octet stream fetched from S3 through an api. I need to change the name of the file received. Does octet stream contain the name of the file ? if yes ,How can I extract the file name from the octet stream ? if no, is there any other…
HMT
  • 2,093
  • 1
  • 19
  • 51
2
votes
1 answer

How to call a java method with Long type in Mule4?

My Java class has a constructor like public Authenticator(String username, String applicationId, String zz, String yy, String zz, String vv,Long cc) { .. } Im initiating this constructor in mule as follows;
Ratha
  • 9,434
  • 17
  • 85
  • 163
2
votes
2 answers

how to groupBy and map at same transform on dataweave 2?

I have this dataweave 1.0 script that works well: %dw 1.0 %output application/java --- flowVars.worklogs groupBy $.author.accountId map { accountId: $.author.accountId[0], displayName: $.author.displayName[0], timeSpentMinutesMonth: (sum…
mhery
  • 2,097
  • 4
  • 26
  • 35
2
votes
2 answers

Custom Json Validation in anypoint studio

I am trying to validate JSon using the json schema validator. But it returns a generic message. "Json content is not compliant with schema" . I have a HTTP POST REQUEST which sends a payload as follows: { "key1" : "value1", "key2" : "value2"…
HMT
  • 2,093
  • 1
  • 19
  • 51
2
votes
2 answers

How can I verify inside a Set Variable (Mule 4) if a parameter exists without having a Value Selector error?

I am using Mule 4 and I have a Value Error Selector when the payload is a string instead of having the following structure: {"status": 0, "content": {"status": "201",........... I am using a set variable in Mule 4 giving this value:
2
votes
2 answers

Read Array Value Using Dataweave in Mule

I am trying to use dataweave in Mule to read specific data values from an incoming payload. My sample payload looks like below: { "source": [ { "uri": "entities/1R6xV", "createdBy": "API_USER", …
Triumph Spitfire
  • 663
  • 15
  • 38
2
votes
1 answer

Calling an Oracle function in mule 4

How do I get the return value from an Oracle funtion with named parameters? I am using :result = call…
Sultan
  • 319
  • 3
  • 11
2
votes
1 answer

Unable to post Object type message to Messaging Queue(ActiveMQ) in Mule 4

I am working on Mule migration from 3.9 to 4.1.4, trying to post ArrayList converted to JSON then posting to JMS queue (Using ActiveMQ), getting below error message Code:
ravibeli
  • 484
  • 9
  • 30
2
votes
1 answer

mule4 date format parsing issue, when parsing 2019-02-27T15:43:38.38 in dataweave 2.0 Unable to parse 'T'

I am trying to format current time to yyyy-mm-dd'T'HH:59:59 but in dataweave 2.0 getting below exception for 'T'. Below is my dataweave code: StopDate: now() as String{format: 'yyyy-mm-dd'T'HH:59:59'} Exception Message :…
2
votes
2 answers

How to throw a custom exception from inside JAVA Transformer in Mule ESB 3.8?

I am implementing a SOAP service in Mule ESB version 3.8 using the HTTP and CXF component. Please see attached image for the flow design. The Mule flow is : HTTP and CXF component exposes the web service which gives sum of two integers. The object…
Bibek Kr. Bazaz
  • 505
  • 10
  • 34
2
votes
0 answers

Mule Requester returns a org.mule.transport.AbstractConnector when opening files

I am using the Mule Requester 1.5 in Anypoint 6.4.4 and am trying to open jpg and text files using the requester. However, the requester returns a payload of org.mule.transport.AbstractConnector$7@76186b59 which doesn't actually contain the file…
2
votes
2 answers

Mule- Dataweave to insert new json field in the existing payload

Sample Json Request { "firstName": "George", "lastName": "Stephen" } Sample Json Response { "id": "123", "firstName" : "George", "lastName" : "Stephen" } I want to do insert id value into Response Json without doing one to one…
Infinity
  • 484
  • 2
  • 8
  • 21
2
votes
1 answer

InitialisationException: KeyStore must be configured for server side SSL in Mule Esb

Trying to send https request in mule . I generated keystore.jks for server and truststore.ts for client , I put them in the resource folder as in the below Image : here is mule flow :
Elsayed
  • 2,712
  • 7
  • 28
  • 41
1
2
3
39 40