mule-studio

Why is Schema Validation for Mule App xml failing for Java Component Binding?

感情迁移 提交于 2019-12-01 10:55:26
I've configured the following component binding in my mule app. <jersey:resources doc:name="REST"> <component> <spring-object bean="activityController"/> <binding interface="edu.ucdavis.edustream.esb.activity.service.EduStreamService" method="putActivity"> <vm:outbound-endpoint exchange-pattern="request-response" path="putActivity" /> </binding> </component> </jersey:resources> It builds and runs without error, but the mule xml lists the following errors: Element: Binding Properties is not allowed to be child of element Java Element: VM is not allowed to be child of element Binding Properties

Why is Schema Validation for Mule App xml failing for Java Component Binding?

橙三吉。 提交于 2019-12-01 09:22:40
问题 I've configured the following component binding in my mule app. <jersey:resources doc:name="REST"> <component> <spring-object bean="activityController"/> <binding interface="edu.ucdavis.edustream.esb.activity.service.EduStreamService" method="putActivity"> <vm:outbound-endpoint exchange-pattern="request-response" path="putActivity" /> </binding> </component> </jersey:resources> It builds and runs without error, but the mule xml lists the following errors: Element: Binding Properties is not

Extracting array from JSON in mule esb

蹲街弑〆低调 提交于 2019-12-01 08:30:41
问题 I'm using Mule 3.4 CE and I have a JSON data coming through HTTP in the following format: { "People" : [ { "Details" : { "Name" : "John Smith", "Email" : "abc@mail.com" } }, { "Details" : { "Name" : "Tim Smith", "Email" : "def@mail.com" } }, { "Details" : { "Name" : "Ken Smith", "Email" : "ghi@mail.com" } }, } I need to extract the emails and lookup the Salesforce contact with these emails and at the same time I want to retain the JSON payload. So my question is how do I extract the emails

How can a properties file be created using Talend Open Studio Data Integration?

泄露秘密 提交于 2019-12-01 01:01:29
I've used Talend Open Integration studio for sometime to just create jobs and run it from the IDE or export it as executable jar file. But I haven't used it extensively. Is it possible to create an external configuration file that holds different server names and other variables so that after I create an executable jar file of my Talend job, I can just change configuration text file and select different database servers or port options? I also used MuleSoft for a little bit, so if anyone knows how to do this with MuleSoft any advise would be kindly appreciated. From the content of your

Mule Caching Strategy using Redis

倖福魔咒の 提交于 2019-11-30 21:16:41
I'm looking for a way to have a shared cache across two servers and I am investigating using Redis as an object-store-caching-strategy but I am encountering a problem when reading stored values. It successfully stores a value when the cache hit is a miss value but throws an error when retrieving the value. The required object/property "muleContext" is null At a guess it seems like the object-store-caching-strategy might need an object store that implements the MuleContextAware interface. Does anyone know if this is correct or how to resolve this issue? Here is the example flow <mule xmlns

How can a properties file be created using Talend Open Studio Data Integration?

邮差的信 提交于 2019-11-30 19:02:23
问题 I've used Talend Open Integration studio for sometime to just create jobs and run it from the IDE or export it as executable jar file. But I haven't used it extensively. Is it possible to create an external configuration file that holds different server names and other variables so that after I create an executable jar file of my Talend job, I can just change configuration text file and select different database servers or port options? I also used MuleSoft for a little bit, so if anyone

How to read REST service that returns JSON object and store the same into PostgreSQL using Mule ESB, Mule Studio

陌路散爱 提交于 2019-11-30 17:37:41
问题 So I have a REST based service which is hosted at http://localhost:35798/RestServiceImpl.svc/json/567 If I query that, I get the result as: {"JSONDataResult":"You requested product 567"} I need to store the whole JSON data into a PostgreSQL table: CREATE TABLE "JsonTable" ( "StoreJsonObject" json ) If I want to parse the value field i.e. "You requested product 567", the program works (here I am using a different table whose column type is text): <jdbc:postgresql-data-source name="PostgreSQL

How to ignore empty objects in DataWeave Mule esb

て烟熏妆下的殇ゞ 提交于 2019-11-30 14:09:44
问题 I am working on transforming my payload. I have got the situation here. Input payload looks like this below one:- { "address": { "city": "bab", "company_name": "asdast", "country_code": "sam", "location": { "city": null, "state": null } }} I used %output application/json skipNullOn = "everywhere" it returns me JSON like below { "address": { "city": "bab", "company_name": "asdast", "country_code": "sam", "location": { } }} But I don't want to have empty location object if all fields in

Jetty in Mule only works in earlier version of Studio

落爺英雄遲暮 提交于 2019-11-30 09:51:37
问题 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

How to ignore empty objects in DataWeave Mule esb

守給你的承諾、 提交于 2019-11-30 09:29:49
I am working on transforming my payload. I have got the situation here. Input payload looks like this below one:- { "address": { "city": "bab", "company_name": "asdast", "country_code": "sam", "location": { "city": null, "state": null } }} I used %output application/json skipNullOn = "everywhere" it returns me JSON like below { "address": { "city": "bab", "company_name": "asdast", "country_code": "sam", "location": { } }} But I don't want to have empty location object if all fields in location objects are empty.I am expecting something like this { "address": { "city": "bab", "company_name":