How to add request-reply scope to the mule studio 3.4.2 - mule

How to add request-reply scope to the mule studio 3.5.0. Not able to see request-reply scope in the pane. could you please help me out on this?

The studio version you are referring to seems to be pretty old.Would be great if you could update to 5.X.
You may also try modifying the xml explicitly, in case you are deploying the code on a decoupled EE server.
<request-reply doc:name="Request-Reply"/>

Documentation says that:
The Request-Reply scope has been available since Mule Runtime version
3. An icon was added for this in the 3.5 version of Anypoint Studio
So in order for you to get an icon you need to install the 3.5 or above version of Anypoint Studio.

Related

Stuck on running Mule Jar file without Mule Runtime environment

I am using Mule 3.9 with Anypoint studio 7.2 for API development. After my functionality developed I was able to export to a Jar file which I was supposed to run on my hardware which doesnt support x64 architecture.
I got error of not supported architecture. So I am looking for solution in 2 ways.
As hardware architecture cant be changed, is there any way to still run Mule program on it without using Mule runtime environment.
Using exported Jar file is it possible to use it only without Mule installed on my hardware machine.
Thanks in advance.
As per comment See error message,when tried to run in Docker also.
Mule uses the Java Service Wrapper to bootstrap the Mule runtime. At this time the version of the wrapper included with Mule previous to Mule 4.4 doesn't support aarch64 as an architecture, only 32 bits ARM (armhf). At this time only Mule 4.4 Enterprise Edition seems to has compatibility with armhf-64. You should try that version to see if aarch64 is recognized as armhf-64.
Also note that Studio 7.x is not compatible with Mule 3.x applications so it is not possible to use it to develop a Mule 3.9 application. You are saying that the deployment file is a jar file so it is clearly a Mule 4 application. A Mule 4 application can not be deployed to a Mule 3 server, they are not compatible.

Anypoint Studio - Manage API is disabled

I'm doing the training course called: Anypoint Platform Development: Fundamentals (Mule 4) from https://training.mulesoft.com/.
In WT4-5, I was instructed as "Right-click the training4-american-ws project in Anypoint Studio and select Manage Dependencies > Manage APIs". However it is disabled. Any ideas as to why or how to enable it?
I have my credential's entered in the Authentication section.
Update:
Clicking on Project Properties/Mule Project/APIs
I see a message Your current Private Cloud Edition does not allow API dependencies.
Reinstalling the product resolved the error.

Cannot run flows from mule studio in Anypoint studio?

Installed Anypoint studio configured it to use Mule 3.4, imported my flows and now when I select "run as" to test them I get an error saying I do not have a licence for data mapper even though I do not use the data mapper in the flows that I have imported from mule studio.
Can I disable or remove the data mapper component from Anypoint so I can run my imported flows (which where developed and work in Mule studio)?
You probably still have a reference to EE artifacts in the pom.xml. Or to EE schemas in the Mule XML configs. Or both...
Make sure to only refer to CE artifacts and schemes only.

Using DataMapper with AnyPoint studio 5.2.1

I downloaded AnyPoint studio 5.2.1 and have been trying to run some tests flows that include the use of the DataMapper transformer.
However, when that transformer is included in a flow, the following Maven dependency resolution issue occurs:
Failed to collect dependencies at com.mulesoft.muleesb.modules:mule-module-data-mapper:jar:3.7.0: Failed to read artifact descriptor for com.mulesoft.muleesb.modules:mule-module-data-mapper:jar:3.7.0: Could not transfer artifact com.mulesoft.muleesb.datamapper:parent:pom:3.7.0 from/to muleforge-repo (http://repository.muleforge.org): Connect to repository.muleforge.org:80 [repository.muleforge.org/199.119.127.133] failed: Connection refused
Is a license required to even run this locally within AnyPoint studio?
There is no dependencies for using data mapper in Anypoint Studio - because it is deprecated in that version. You can still download and include datamapper if you need: https://docs.mulesoft.com/mule-user-guide/v/3.7/including-the-datamapper-plugin
However you would be better moving to the latest version and using Dataweave which is the go-forward Mule data transformation tool
As per your error message, I see a version mismatch between your Anypoint studio and data mapper. Could you please confirm if you have upgraded some components in your Anypoint Studio? If yes, you may want to uninstal that and try again. I have never experienced this issue.

Mule 3.5 Batch module. Enterprise or community version?

I recently downloaded Mule 3.5 after having a look at the new great features coming with the Batch module. After several days developing a flow that uses Batches using Anypoint Studio, when I wanted to deploy my app to my Mule 3.5 Community standalone server I got a disagreeable surprise: neither the batch xsd was contained in the Community runtime nor the batch module jar was in the lib/module folder.
Does that mean that the Batch module belongs to the Enterprise edition? Because I cannot see any mention to that "small detail" neither in the official documentation of the module http://www.mulesoft.org/documentation..., nor in the feature comparison page http://www.mulesoft.com/platform/soa/mule-esb-enterprise
At the same time, the Community runtime for Anypoint Studio comes with the batch module, as it can be seen in the corresponding plugin folder of eclipse.
Is it a marketing strategy to force users to switch to Enterprise edition? Maybe an error in the documentation? Perhaps an error of packaging of the Community runtime?
Yes, Batch Module is an Enterprise feature. And you are right that is not properly documented. For more detail on the content of each version you can take a look at the release notes, enterprise features are listed linking an EE jira key while community ones are linking a CE jira key.