mule-studio

Jetty in Mule only works in earlier version of Studio

断了今生、忘了曾经 提交于 2019-11-29 16:19:46
I'm having problems using the Jetty connectors in Mule. Within my mule configuration: <jetty:connector name="JettyRest" configFile="jetty-rest.xml" doc:name="Jetty" /> <jetty:connector name="JettySoap" configFile="jetty-soap.xml" doc:name="Jetty" /> There is no problem at all when running in Mule Studio (using Mule Server Runtime 3.4.0 CE ). However, after importing the project to and running in Anypoint Studio (using Mule Server Runtime 3.5.0 CE ), I get the following error: Cannot load class 'org.mortbay.jetty.Server' Even if I manually include the Jetty JAR from here to the build path, I

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.?

How to read CSV file and insert data into PostgreSQL using Mule ESB, Mule Studio

有些话、适合烂在心里 提交于 2019-11-27 21:27:44
I am very new to Mule Studio. I am facing a problem. I have a requirement where I need to insert data from a CSV file to PostgreSQL Database using Mule Studio. I am using Mule Studio CE (version: 1.3.1). I check ed in the Google and find that we can use Data-mapper for doing so. But it works only for EE .So I cannot use it. Also I am checking in the net and found an article Using Mule Studio to read Data from PostgreSQL(Inbound) and write it to File (Outbound) - Step by Step approach . That seems feasible but my requirement is just the opposite of the article given. I need File as Inbound data