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

MuleSoft deployment failing using maven

I am trying to deploy a flow I created in Anypoint Studio to CloudHub using maven. I have my pom.xml configured as best as I can tell:
jsteele
  • 325
  • 1
  • 4
  • 13
2
votes
8 answers

Error initializing tooling instance in Mule Anypoint Studio

I am new to Mule and was following the official tutorial in using the Anypoint Studio. I was trying to test the connection of a database connector when I found that there was an issue with the tooling instance, in which the following message was…
Patrick C.
  • 1,339
  • 3
  • 16
  • 31
2
votes
1 answer

Groovy gives error expecting EOF, found '?' @ line 9, column 25

I'm using following code to generate random number in Groovy. I can run it in e.g. Groovy Web Console (https://groovyconsole.appspot.com/) and it works, however it fails when I try to run it in Mule. Here is the code I use: log.info ">>run" Random…
Buddhi
  • 2,224
  • 5
  • 32
  • 43
2
votes
1 answer

Calling Postgresql stored procedures in Mulesoft 3.8

I can't call PostgreSQL stored procedures by using . . . . The problem is we have to use 'Call' keyword if we choose and it only works in certain database such as MySQL. In…
2
votes
1 answer

Anypoint Studio - Mule Debug - "Stacktrace"

In Anypoint Studio breakpoints can be set in Subflows. Using these the processing can be suspended, the message and the flow variables can be inspected. I was wondering though... is it possible to find out how we ended up in the given subflow? Can…
Attila
  • 3,206
  • 2
  • 31
  • 44
2
votes
1 answer

AmazonClientException: Unable To Load Credentials from any Provider in the Chain

My mule application writes json record to a kinesis stream. I use KPL producer library. When run locally, it picks AWS credentials from .aws/credentials and writes record to kinesis successfully. However, when I deploy my application to Cloudhub, it…
2
votes
4 answers

Unable to create MUnit test or suite

When trying to create an MUnit test in Anypoint Studio by right clicking on a flow then selecting 'Create new text.xml Suite' I see the following dialog appear: This has the disadvantage of not offering any stack trace to follow, however, looking…
a.cayzer
  • 289
  • 4
  • 22
2
votes
2 answers

ESB Mule 3.8.1 CE HTTP request thrown doSelect Error

I have Anypoint 6.2.5 Mule 3.8.1 CE When I am trying to send json to Magento2 Api. Im using http request like that:
2
votes
1 answer

Issue with Websphere MQ mule code

I am using WMQ (IBM Websphere Message Queue) and am facing the below error: Root Exception was: MQJE001: An MQException occurred: Completion Code 2, Reason 2059 MQJE011: Socket connection attempt refused. Type: class…
Thiru
  • 404
  • 1
  • 16
  • 44
2
votes
2 answers

In Mule/Dataweave how do I transform a HashMap into a Array when both key & value are numbers

In Mule/Dataweave how do I convert/transform a HashMap into a Array. I have got a HashMap whose key & value are dynamic numbers. Example: {"3.2" : 1, "22" : 8, "2.0" : 1} I want to transform it to this structure: [ { "name": "app-a", …
gnanagurus
  • 883
  • 1
  • 12
  • 29
2
votes
0 answers

How to handle GZIP, Deflate accept encoding in Mule

How does mule handle GZIP, Deflate Accept Encoding Headers? Is it automatic or do we need to use the GZIP Compress connector or do we need to do something else when the application receives this as a header? I am using Mule 3.8.1 and Anypoint…
user3165854
  • 1,505
  • 8
  • 48
  • 100
2
votes
2 answers

How to create a function that can be reused in dataweave

I have a 3 functions in Dataweave transform message component and I would like to reuse these functions in 4 other transform message components. Is there a way I can centralise the 3 functions and reference them in the 4 other transform message…
user3165854
  • 1,505
  • 8
  • 48
  • 100
2
votes
0 answers

Get files from S3 bucket sub folders and process the files in Mule

I have the following folder structure in a S3 bucket called "test-files": pending-files/products pending-files/prices Each folder contains a number of small CSV files and I want to retrieve them all in one call and then process each file in a For…
user3165854
  • 1,505
  • 8
  • 48
  • 100
2
votes
1 answer

Get filename and move files in AWS S3 using Mule

I have 3 S3 buckets: input-files in-progress processed-files The "input-files" bucket contains a list of CSV files and I want to get each input file (filename format: filename-timestamp) from the bucket one at a time and move it to the…
user3165854
  • 1,505
  • 8
  • 48
  • 100
2
votes
1 answer

Json schema exception no protocol error when creating a metadata type in Mule using a Json schema

I am adding a metadata type in Mule 3.8.1 using a JSON schema called stores.json which contains a property that references an organization.json schema "organization": { "$ref": "definitions/common/organization.json" }, but I am getting the…
user3165854
  • 1,505
  • 8
  • 48
  • 100