mule-studio

Why DB response ( resultSets) are being divided in two splits in Mule ESB

前提是你 提交于 2019-12-25 01:32:59
问题 I'm querying DB to get the response through Mule. Response are being populated, but not sure why it is being divided inside resultSet1 (if it is larger). Could see here in logger, ResultSet1 end tag is </custo ( not completly finished as ), it is being extended with same Key( XML_F5RYI-11YTR ) and there it is finished mers> . Do I need to do any configuration settings in Mule DB level to propogate all the resultSet1 in same level ? Actually My ultimate aim is to extract the resultSet1, second

Unable to install custom connector in mule

北战南征 提交于 2019-12-24 23:27:00
问题 I have developed the custom connector using the tutorial given Hello-Connector The build was successful after running the maven command from the console. When I try to install the connector in my mule studio, it is not able to locate it at the specified path. The structure of the UpdateSite.zip folder is 回答1: Per https://stackoverflow.com/a/8406282/387927 shouldn't the path start with: file:///D:/Mule/Examples/... ? 来源: https://stackoverflow.com/questions/23863570/unable-to-install-custom

MULE: xpath expression not extracting values from payload

我的梦境 提交于 2019-12-24 16:56:36
问题 I've got a simple flow, it takes an XML messages, splits it into sub elements and now I am trying to get a value, but getting unexpected results. My XML looks like this: <?xml version="1.0" encoding="UTF-8" ?> <ns0:RewardOfferDetail xmlns:ns0="http://example.com/schemas/v1_0/RewardOffer"> <ns0:Offer> <ns0:OperationCode>U</ns0:OperationCode> </ns0:Offer> <ns0:Offer> <ns0:OperationCode>A</ns0:OperationCode> </ns0:Offer> </ns0:RewardOfferDetail> I need to extract the <OpeartionCode> from each

How does Mule IDE create pom.xml? Why it is adding EE dependencies?

偶尔善良 提交于 2019-12-24 15:36:30
问题 When I create a new project in mule studio, it adds mule EE dependencies in autogenerated pom.xml. Any idea why it's doing that? <!-- Mule Dependencies --> <dependencies> <dependency> <groupId>org.mule</groupId> <artifactId>mule-core</artifactId> <version>${mule.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.mulesoft.muleesb.modules</groupId> <artifactId>mule-module-boot-ee</artifactId> <version>${mule.version}</version> <scope>provided</scope> </dependency

How to run an imported maven based mule project in Anypoint Studio

旧街凉风 提交于 2019-12-24 14:58:20
问题 My mule maven based project created in eclipse is checked into svn. I want to run it in Anypoint Studio. So I imported it as Maven based project from SVN. But Studio doesn't recognize it as Mule project. Any pointers? 回答1: If your project is a Maven project then it should be having a pom.xml file. From anypoint studio do an import of Maven project from pom.xml and point to the location where your project resides. it should automatically find the pom.xml inside and import it successfully. 回答2:

Is there a way to poll several addresses using Mule's HttpPollingConnector?

喜夏-厌秋 提交于 2019-12-24 01:19:05
问题 I am trying to poll several addresses (URL links) from a list that contains all these addresses using the http polling connector in Mule. Currently, I am only able to poll from one address but I would like to find a way to use this list to iterate the polling for each site. Is there anything built within Mule that provides such function? 回答1: Is composite source what you're looking for? It allows you to have more than one endpoint in the inbound. e.g. from http://www.mulesoft.org

Mule requester is consuming all the messages from JMS queue

女生的网名这么多〃 提交于 2019-12-23 04:54:32
问题 I am facing a minor issue using Mule requester .. I have the following Mule flow :- <!-- This flow sends payload to ActiveMQ --> <flow name="SendPayloadToActiveMQ" doc:name="mulerequesterdemoFlow1"> <http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:8088/requester" doc:name="HTTP"/> <set-payload value="My Payload" doc:name="Set Payload"/> <jms:outbound-endpoint doc:name="JMS" queue="input" connector-ref="Active_MQ"/> </flow> <!-- This flow consumes 3 payload

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