mule-module-jpa

Configured jetty server in mule esb

大憨熊 提交于 2020-01-17 06:28:15
问题 I want to Configured embedded jetty server in mule esb. I have tried many thing but unable to get success. Please give me step how to configured. I want to make webinf folder in which I can host servlet file and jsp file. I have seen online book example, but It is not working in my mulestudio. I am getting folder structure error. I have also tried to search but didn't get any working example. 回答1: In mule-config.xml add the fillowing :- <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http

How the Mule Listen other Web Application Data?

半腔热情 提交于 2019-12-13 04:38:33
问题 I Want to integrate Salesforce and JIRA by Using Mule. Both are Connecting Properly by using Hard Code. But i want when i am trigger the object in salesforce that time mule accept receive the data of object in salesforce. In Mule Not Listen my salesforce object data. What i do. if the Ip Address is "Localhost" is enough.or must need any realtime URL.The Following code used for recive the account details when i run the local url. instead of i want when i trigger the salesforce i recive the

Dependency Injection is working at Mule application startup. Objects are getting null, when a request received and Failing by throwing NullEx

拟墨画扇 提交于 2019-12-12 04:56:54
问题 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> <context:component-scan base-package="com.example.hibernate" /> <bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property

Mule: How to print the file name in logger?

大兔子大兔子 提交于 2019-12-12 02:39:30
问题 I want to print the mule configuration file name, in the logger in the flow, how can I get it? Suppose the configuration file name in test.xml, inside that a flow is having logger, which prints test.xml , how can I get this? <flow name="filenameFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/Hello" doc:name="HTTP"/> <logger message="#[app.name.toString()]" level="INFO" doc:name="Logger"/> </flow> 回答1: [name.flow] is not correct one. you should go with #[flow.name] which

Usage of mule-module-jpa 1.2.0 with Hibernate in 3.4.0 CE. How to define EntityManager?

筅森魡賤 提交于 2019-12-11 09:26:12
问题 Could anyone point me to a working example of the mule-module-jpa suitable for Mule 3.4 CE? I have looked high and low and spent the better part of a day trying to get a test running and am stuck trying to get a properly defined entityManagerFactory set inside a mule app. I got excited when I saw the article here describing the modules features. http://blogs.mulesoft.org/getting-started-with-jpa-and-mule/ Unfortunately that article lacks any details about configuration of the module. I next

how to use value of #[server.dateTime.weekOfYear] in mule-app.properties or configuration xml

空扰寡人 提交于 2019-12-11 09:23:46
问题 I am downloading files from FTP. I am able to download files with defined patterns or defined name and pass then process these files in Java. Problem I am facing is that I need to download a new file every week. The file name is like "constant-prefix-2013-W51.zip" . My current XML is like this; <ftp:inbound-endpoint host="${ftp.host}" port="${ftp.port}" path="${ftp.pathInbound}" user="${ftp.user}" password="${ftp.password}" responseTimeout="10000" doc:name="KBB_FTP" > <file:filename-wildcard

Mule JPA persist is not inserting or updating

若如初见. 提交于 2019-12-02 09:11:19
问题 I am using Mule JPA module for retrieving and insert/updating data. I can able retrieve data but not able to update the DB. Its giving no errors and as per the log it seems that the record got updated. But :( If I check DB no recorded is getting inserted. I believe that the transaction is not getting committed. Please help me how to achieve this issue. Here is my mflow <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns:json=

Mule: How to pass File from FTP to Java class in Mule ESB?

元气小坏坏 提交于 2019-11-28 06:44:15
问题 In Mule, I am downloading files from FTP server. I want to pass all the files in this directory to my java class which should be performing actions after Download_ZIP_File in my flow. I need to perform actions like reading text files and unzip the zipped files using Java. There should be a Java class in my flow, for which a function call should be raised when download is complete.. Object of this class must know all the information about downloaded files. Can someone please help on this.?