mule-studio

How to use mule requester for SFTP - Dynamic file name and path

我怕爱的太早我们不能终老 提交于 2019-12-06 10:38:52
问题 I am trying to use a mule requester component for SFTP. How do I give the file name as part of the request argument? This is my flow: <flow name="Move_Doc_To_Temp_Location" doc:name="Move_Doc_To_Temp_Location"> <jdbc-ee:inbound-endpoint queryKey="Select_Document" queryTimeout="-1" pollingFrequency="30000" connector-ref="LoanApp_Database" doc:name="Select_Doc_To_be_moved"/> <set-variable variableName="OriginalPayload" value="#[payload]" doc:name="OriginalPayload"/> <logger message="#[payload[

Is it still possible to configure a vm queue as persistent in Mule 3.4.X?

梦想的初衷 提交于 2019-12-06 10:31:20
问题 I am trying to configure a vm connector like so: <vm:connector name="recordDeletedActivityDLQStore"> <vm:queue-profile maxOutstandingMessages="500" > <file-queue-store/> </vm:queue-profile> </vm:connector> Mule Studio complains that is not a permitted child element of vm:queue-profile. This will not build and run either. I've tried other possible inputs for defining the nature of the queue store without any luck. I can't find any documentation on how to configure persistent vm queues that

Consuming .NET ASMX Web Service from mule esb throws CXF Exception: 401 Unauthorized

橙三吉。 提交于 2019-12-05 21:33:11
I have a .NET ASMX web service in a different server and I have installed the mule standalone CE 3.4 in another server. I have a very simple flow which needs to call this .NET web service and pass two string parameters. <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="CE-3.4.0" xmlns:xsi="http://www.w3.org/2001

Anypoint studio/Mule hangs during startup

主宰稳场 提交于 2019-12-05 21:32:43
I am new to Mule and Anypoint studio. I worked with Mule before. After a while I came back to work with it again. I upgrade to Anypoint Studio March 2015 Release Version: 5.1.0 Build Id: 201503171252 (sorry but I do not remember my old version and it over wrote by new version now) After upgrading it hangs during start-up. It hangs during process of My system : Linux Mint 17 Qiana Java -varsion : java version "1.7.0_67" Java(TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode) Any suggestion ? iam siva46 AnypointStudio /JAVA_HOME/bin/

MuleStudio studio:studio goal failed to execute

烈酒焚心 提交于 2019-12-05 20:04:29
I copied/pasted a working project in my Mule Studio workspace (from within Mule Studio) to create a new project. After that, I could do a mvn clean install on the new project and everything worked fine. Then, after any modification on the pom (i.e. add a blank line), I'm getting the following error (On an exclamation mark over the project name). I can still execute mvn clean install without errors and obtain a jar that I can deploy. However, I'd like to eliminate the error. Build problem on project ProjectName, studio:studio goal failed to execute, check the Maven Output console for logs EDIT

How to catch exceptions in the Mule foreach scope but keep the process going?

眉间皱痕 提交于 2019-12-05 16:18:26
I am new to Mule ESB. I have created a simple flow that loops through a list of orders and calls the Magento API to update the order statuses one by one. My problem is that if there are any exception occurs in the foreach scope, the whole process tops. I tried to use the Exception Strategy to capture the exception and it did capture the exception. But how to resume the process? I didn't find much info with google search. Maybe I was doing something wrong with the flow. How do we normally handle this in Mule? Here is my flow in xml. <flow name="Update_Magento_Order_Status_AU" doc:name="Update

Mule + ZenDesk: Unhelpful error message: “null (java.lang.UnsupportedOperationException). Message payload is of type: ZendeskConnector$1”

a 夏天 提交于 2019-12-05 15:54:16
I think this is some type of generic MuleSoft error message, basically saying that it's either unhappy about the input or output, but I've made the simplest flow that I can, and as far as I know there are no parameters to pass. The test flow I'm trying to do: HTTP -> ZenDesk/ListTickets -> Set Payload ("hello world") Things I've looked at: I'm using a global config and the connection verifies I'm using my password (vs. the security token) If I make the password incorrect I get a 401 as expected, same if I use my key instead I have admin/API privs in ZenDesk I'm able to use the REST API from a

Anypoint Studio 7.1 start-up error

穿精又带淫゛_ 提交于 2019-12-05 08:48:53
I am trying to experiment with Mule Runtime 4 & Anypoint Studio 7.1. I got the downloadable from - https://mule-studio.s3.amazonaws.com/7.1.1-GA/AnypointStudio-for-win-64bit-7.1.1-201803182216.zip while starting up AnypointStudio.exe, I keep getting the error message - A JDK must be installed in order to run Anypoint Studio. Please install a JDK and try again. But I do the required version of JDK installed in my machine, as per https://docs.mulesoft.com/anypoint-studio/v/7.1/faq-jdk-requirement Here's the output from java -version java version "1.8.0_161" Java(TM) SE Runtime Environment (build

How to call stored procedure from Mule 3.5 with new Database endpoint

这一生的挚爱 提交于 2019-12-05 08:34:29
I was testing Mule's new Database connector of Mule 3.5 with Stored Procedure ... (Reference :- http://www.mulesoft.org/documentation/display/current/Database+Connector ).. I had a following Stored Procedure :- ALTER PROCEDURE [dbo].[sp_retrieveData] @Id int AS Select * from getData Where ID = @Id Which is working fine in Mule's old JDBC connector ... I used to call the stored procedure from the JDBC endpoint using the following syntax :- <jdbc-ee:query key="RetriveQuery" value="CALL sp_retrieveData(${Id})"/> Which worked fine ... But now the issue is in the Mule 3.5 new Database end point I

Mule ESB 3.6 - Best way to convert BufferedInputStream to XML

混江龙づ霸主 提交于 2019-12-04 21:50:29
I have a Mule ESB project using HTTP Connector where I want to use XPath to split/route the XML. The message payload after the HTTP Connector is a org.glassfish.grizzly.utils.BufferInputStream. What is the best way to transform this to a type where I can use a component such as a 'Splitter' or 'Expression' (using XPath) to split/route it? The 'Object to XML' doesn't seem to work and the splitter doesn't work when the payload is a String (i.e. using Object to String after HTTP). I would rather not write a custom Java transformer if there are standard components that could do this? Flow <http