mule

Where in the application would you define the vm:endpoint for a dlqEndpoint-ref defined in an until-successful scope?

筅森魡賤 提交于 2019-12-23 03:54:08
问题 I'm trying to follow the example in this blog post (http://blogs.mulesoft.org/meet-until-successful-store-and-forward-for-mule/) for defining a dead letter queue for an until-successful scope element. This is the snippet from the blog post that doesn't quite make sense: <vm:endpoint name="dlqChannel" path="dlq" /> <until-successful objectStore-ref="objectStore" dlqEndpoint-ref="dlqChannel" maxRetries="3" secondsBetweenRetries="10"> ... </until-successful> I don't quite understand where the vm

Mule ESB 3.6 Object To XML not working correctly after Database Connector

我的未来我决定 提交于 2019-12-23 03:02:48
问题 I'm new to Mule ESB (3.6) and was testing out a simple flow to retrieve records from a MS SQL Server Express DB and convert results to XML using the 'Object to XML' Transformer. The 'Customer' table only has 2 rows and my query is just returning all fields in the DB. My problem: the XML returned is not what I expected (mapped based on a linked-list and not the XML structure based on the query). If I replace the transformer with a 'Object to JSON' version, the JSON returned represents the

Mule ESB 3.6 Object To XML not working correctly after Database Connector

只谈情不闲聊 提交于 2019-12-23 03:01:14
问题 I'm new to Mule ESB (3.6) and was testing out a simple flow to retrieve records from a MS SQL Server Express DB and convert results to XML using the 'Object to XML' Transformer. The 'Customer' table only has 2 rows and my query is just returning all fields in the DB. My problem: the XML returned is not what I expected (mapped based on a linked-list and not the XML structure based on the query). If I replace the transformer with a 'Object to JSON' version, the JSON returned represents the

Expose Http Response time in Mule ESB

我与影子孤独终老i 提交于 2019-12-23 02:22:10
问题 Is there any way to get the response time of an endpoint in MULE? Example is the Http Connector in mule, I need to get the response time of the invoked endpoint. 回答1: I was able to solve my problem by using Mule Server Notification. There is an interface MessageProcessorNotificationListener which can listen to PRE/POST invoke of a message processor. I have achieved to get the response time of an message processor using the following code. long startTime; if (m.getAction() ==

Expose Http Response time in Mule ESB

岁酱吖の 提交于 2019-12-23 02:22:02
问题 Is there any way to get the response time of an endpoint in MULE? Example is the Http Connector in mule, I need to get the response time of the invoked endpoint. 回答1: I was able to solve my problem by using Mule Server Notification. There is an interface MessageProcessorNotificationListener which can listen to PRE/POST invoke of a message processor. I have achieved to get the response time of an message processor using the following code. long startTime; if (m.getAction() ==

Anypoint studio/Mule hangs during startup

孤人 提交于 2019-12-22 10:56:39
问题 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

MuleStudio studio:studio goal failed to execute

一曲冷凌霜 提交于 2019-12-22 10:38:09
问题 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

Can someone give example how to convert csv to xml in mule?

﹥>﹥吖頭↗ 提交于 2019-12-22 09:59:26
问题 I am new to Mule. I want to do below things 1) Read csv file from local drive 2) Transform to xml 3) Write xml Please help. 回答1: One of the easiest way to convert and map a CSV to XML is use of Mule Datamapper https://developer.mulesoft.com/docs/display/current/Datamapper+User+Guide+and+Reference But, this Datamapper is a feature of Mule enterprise edition... Other alternate option is to load the CSV file from local disc using File inbound endpoint, using expression-transformer to split the

mule-standalone-3.3.1 won't start on Windows 7

孤人 提交于 2019-12-22 09:46:32
问题 I got following issue when starting mule server in windows 7. I have set JAVA_HOME and MULE_HOME properly. MULE_HOME is set to C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1 Running in console/foreground mode by default, use Ctrl-C to exit... --> Wrapper Started as Console Launching a JVM... Unable to execute Java command. The system cannot find the file specified. (0x2) "java" -Dmule.home="C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1" -Dmule.base="C:\BAM

How to invoke Mule's file-inbound endpoint from Command Line Interface (CLI) using curl?

情到浓时终转凉″ 提交于 2019-12-22 09:31:19
问题 I am trying to move/upload multiple files from source to destination (can be anything e.g. FTP or File outbound etc..) by using the below flow <flow name="flow1" doc:name="f1"> <file:inbound-endpoint path="C:\input" responseTimeout="10000" doc:name="File"/> </flow> <flow name="flow2" doc:name="f2"> <http:inbound-endpoint address="http://localhost:8080" doc:name="HTTP" exchange-pattern="request-response"/> <flow-ref name="flow1" doc:name="Flow Reference"/> <file:outbound-endpoint path="C: