mule-component

Mule: Maven excluding certain mule jars while creating mule runnable jar

时间秒杀一切 提交于 2020-01-16 20:06:32
问题 Need to create a runnable jar of a mule service using maven-assembly plugin. Its creating a zip file but excluding certain mule jars. When trying to run it from console getting classnotfound exception for mule-core jar. How can i include these jars as well as create a jar rather than zip. Message on console while packaging using maven clean package command from anypoint studio maven plugin is [INFO] Using exclusions definition for Mule ESB Server version 3.6.0 [INFO] Using as WTP server :

Mule: Maven excluding certain mule jars while creating mule runnable jar

孤街醉人 提交于 2020-01-16 20:05:14
问题 Need to create a runnable jar of a mule service using maven-assembly plugin. Its creating a zip file but excluding certain mule jars. When trying to run it from console getting classnotfound exception for mule-core jar. How can i include these jars as well as create a jar rather than zip. Message on console while packaging using maven clean package command from anypoint studio maven plugin is [INFO] Using exclusions definition for Mule ESB Server version 3.6.0 [INFO] Using as WTP server :

Write Multiple queries in database connector in Mule

末鹿安然 提交于 2020-01-05 05:10:13
问题 I want to write select and insert queries for 3 tables for the same database using a database connector. I want to know is there a alternative or how can it be done using 1 database connector? I ended up using 5 database connector. But I think this makes the flow look complicated. Is there any other way of doing this. 回答1: You are going in a wrong way :) It can be achieved by a single DB connector performing 3 different operations. Pls go through the documentation here :- https://docs

How to Check null condition in Data weaver : Mule

喜你入骨 提交于 2020-01-01 12:09:30
问题 Here is my xml, in that first I need to check 'RecordsEntries' should not be 'null', then RecordEntry shouldn't be null followed by mapping code <?xml version="1.0" encoding="UTF-8"?> <Records> <storenumber /> <calculated>false</calculated> <subTotal>12</subTotal> <RecordsEntries> <RecordEntry> <deliverycharge>30.0</deliverycharge> <entryNumber>8</entryNumber> <Value>true</Value> </RecordEntry> <RecordEntry> <deliverycharge>20.0</deliverycharge> <entryNumber>7</entryNumber> <Value>false<

Mule won't allow POLL message processor to read file using file Inbound?

倖福魔咒の 提交于 2019-12-31 05:51:33
问题 I have a small query, POLL message processor not allowing to read Files from 'File Inbound' message processor? I need to read the file for every 5 minutes (Schedule automatically) to proceed with further requirements. Is it possible using POLL? How can be file inbound used in POLL. Any suggestions will be helpful. 回答1: I recommend you execute this operation using the quartz connector. Here's an example: <flow name="repeatIntervalFileFlow" doc:name="repeatIntervalFileFlow"> <quartz:inbound

Error occured while trying to acquire a cached PreparedStatement in a background thread

好久不见. 提交于 2019-12-25 04:23:33
问题 we are using connection pooling which is provided by mule in Database component. we are getting below error when we applied huge load. configured parameters as : maxConnection=100, minConn=0, autoIncrement =15 waitMillisec=10000 and prepared statement cache size kept it as default(i.e did not configure anything). Could you please assit on this to reslove below. {"timestamp":"2016-10-22T09:28:13,611","level":"WARN","thread":"ActiveMQ Session Task-25","loggerName":"com.mchange.v2.c3p0.impl

Mulesoft SFTP connector <service-overrides messageReceiver=“my.package.mySftpMessageReceiver”/> + JSch not working properly

百般思念 提交于 2019-12-25 03:17:24
问题 I am using Anypoint Studio to upsert product items from SFTP to Salesforce. I created a class mySftpMessageReceiver that extends sftpMessageReceiver and overrides the poll() function. In the poll() function I wrote, I am creating an instance of the class JSchSFTPBrowser I wrote. It uses the JSch Library. In this class, there's a function that takes rootDirectory and fileName as parameters. It looks recursively in all subfolders of rootDirectory for files having name containing fileName and

Mule ESB: How to take all the files in a folder inside Bucket of Amazon S3 ( get object content)

杀马特。学长 韩版系。学妹 提交于 2019-12-25 03:14:10
问题 i'm using Amazon S3 , My bucket have mutiple files in a input folder.i need to take all files in a folder and process it, right now i can able to take one file and process it by providing the key value. But not sure how to take all the files in a bucket (input is my folder name in a bucket) at a one shot. Please find my config below <s3:config name="Amazon_S3" accessKey="myKey" secretKey="MySecretkey" doc:name="Amazon S3"/> <flow name="s3Flow1" doc:name="s3Flow1"> <http:inbound-endpoint

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

Output Encoding issue in mule esb

杀马特。学长 韩版系。学妹 提交于 2019-12-24 16:13:52
问题 I have used to do create XML using "Transform Message" Node in Mule ESB. %dw 1.0 %output application/xml item: { name: payload."profile_name", id: payload."profile_Id" } This shown a preview of output xml as <?xml version='1.0' encoding='windows-1252'?> <item> <name> <profile_name>????</profile_name> </name> <id> <profile_Id>1</profile_Id> </id> </item> This resulted encoding as 'windows-1252' how can i change encoding as 'UTF-8' in my outpout xml ? 回答1: Go to your Anypoint Studio folder.