Questions tagged [anypoint-studio]

Anypoint Studio (formerly know as Mule Studio) is an Eclipse-based integration development environment from MuleSoft.

1133 questions
2
votes
1 answer

The RAML file/URL does not exist or is not a valid RAML in Mule Studio for every raml file

I am trying to create new Mule project using raml example file. Everytime I am getting following error : The RAML file/URL does not exist or is not a valid RAML Please let me know what does this error mean and when it occurs, what can I do to solve…
2
votes
1 answer

Setting global-property via java code

I need to set the global property grammatically. Functionally it should do exactly what the following statement should be doing I believe I should be able to access…
user1493140
  • 5,976
  • 4
  • 29
  • 49
1
vote
1 answer

My mock is not returning the payload I want (mock response), it is returning the real payload

I´m developing a munit test but It is failing, because when it makes a call to another api, it is expecting a new Id, but for the test I cannot make several new Ids, as I understand this is a simulation, that´s why we use mock responses. But is…
Itzel Moo
  • 11
  • 2
1
vote
0 answers

Mulesoft FTP Connector - File timestamps look incorrect

We are using mule-ftp-connector version 1.8.2. When Listing a dir with the List component the typedAttributes["timestamp"] value looks off. E.g File on ftp server has a datetime of 06/02/2023 08:26:52 this is shown in filezilla ftp client and also…
Vish
  • 346
  • 2
  • 13
1
vote
0 answers

How can a Mule 4 application get access to common dependencies defined in the domain

In Anypoint Studio, I have a domain project where I define dependencies (mule connectors and other various 3rd party dependencies) that are common to the apps that are part of the domain. In those apps, I can access the mule connectors, but my java…
William
  • 91
  • 1
  • 10
1
vote
1 answer

Make HTTPS GET request using http connector in Mule with SSL certificates

I have .crt and privatekey.pem keys which can be used for making HTTPS GET API request. We can't use these certificates directly in mulesoft for making https API requests. As far I know it supports Trust store configuration and Key store…
1
vote
0 answers

Unable to use external java JAR library into mulesoft datawave

I'm trying to use a java library on my mule application. Following this tutorial, i successfully imported and invoked the extended StringUtils class in Datawave. But when i do the same for my own library, it fails. Here the steps o followed from the…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
1
vote
2 answers

Dataweave transformation of converting objects with same key to array of objects

Below example contains same key "row". There may be thousands of such objects. I need an optimal solution in converting below object: { "row":{ "name": "abc" }, "row":{ "school": "pqr" } } Required output: { …
1
vote
2 answers

Creating a batch job in mule that takes a number of objects

I would like create batch job that takes only 3 batch block size (but in the beggining I have 9 or 13 or 15 objects every call could be different) in one time and then create the response and then go back to the batch job because I have more then 3.…
Anonim
  • 81
  • 5
1
vote
2 answers

Mule 4 How to Raise an error with additional data

I'm new to Mule and still trying to wrap my head around Errors and Error Handling. I would like my sub-flow to "throw" a custom error with additional data. The Raise error connector only supports Type and Description (Where description is a static…
Daniel
  • 2,288
  • 1
  • 14
  • 22
1
vote
2 answers

bytearrayinputstream to string in Mule 4 using Java invoke static

I want to get elements from an .eml file in Mule 4 using the Java Module invoke static operation, but it gives this error Invocation of static Method 'Text(java.lang.String)' from Class 'testattach.Test' with arguments…
techie
  • 11
  • 1
1
vote
2 answers

org.mule.tooling.client.startup.toolingnotavailableexception tooling instance could not be started

org.mule.tooling.client.startup.toolingnotavailableexception tooling instance could not be started does anyone know how to fix this, I am using java version 17 on windows 10
1
vote
1 answer

Unix Time formatting in Dataweave

Hi I got some UX time like and I can convert this value in the the data time using this: as DateTime {unit: "milliseconds"} as String {format: 'yyyy-MM-dd hh:mm:ss:SSS'} { "test": { "1669587277000": 90, "1669585177000": 6, …
Anonim
  • 81
  • 5
1
vote
1 answer

how to upload to specific folder inside Azure blob container with Mule?

In my Mule 4 application I Azure Storage connector to successfully upload a blob to my Azure container: However this adds the file into the root directory of "my-container". I want to add the file to my-container/examples - i.e. the examples folder…
java12399900
  • 1,485
  • 7
  • 26
  • 56
1
vote
1 answer

Anypoint Studio Mulesoft deploy

When I try to deploy the mule application in Anypoint I get the following exception: ERROR 2022-10-06 16:52:21,942 [WrapperListener_start_runner] org.mule.runtime.module.deployment.internal.DefaultArchiveDeployer: Failed to deploy artifact…