mule-component

Need clarification on “Transport Barrier” in understanding properties

房东的猫 提交于 2021-02-08 06:56:21
问题 i have read all "OUTBOUND" properties in Mule floe will be converted to "INBOUND" properties on crossing the "Transport barrier". i could not understand what is this "Transport barrier mean" . Is it calling an external world from an Mule outbound connector ? or calling an flow within the mule project itself ? 回答1: A "transport barrier" is when your Mule message goes through an endpoint that makes use of a transport (say for example, HTTP endpoints, JMS, TCP, VM, etc). There are two ways of

DOM to XML transformer logic

风流意气都作罢 提交于 2021-02-08 02:10:29
问题 Can someone please explain to me why a DOM to XML transformer converts the output of a Web Service Consumer to an XML String representation? The output of the Web Service Consumer is a org.mule.module.ws.consumer.NamespaceRestorerXMLStreamReader . According to the official docs: The DomToXml transformer converts DOM objects to XML, the XmlToDom transformer converts XML strings to DOM objects, and the DomToOutputHandler transformer converts from a DOM to an OutputHandler serialization. They

DOM to XML transformer logic

╄→尐↘猪︶ㄣ 提交于 2021-02-08 02:08:18
问题 Can someone please explain to me why a DOM to XML transformer converts the output of a Web Service Consumer to an XML String representation? The output of the Web Service Consumer is a org.mule.module.ws.consumer.NamespaceRestorerXMLStreamReader . According to the official docs: The DomToXml transformer converts DOM objects to XML, the XmlToDom transformer converts XML strings to DOM objects, and the DomToOutputHandler transformer converts from a DOM to an OutputHandler serialization. They

Compare 2 JSON arrays to get matching and un-matching outputs

 ̄綄美尐妖づ 提交于 2021-01-28 13:50:14
问题 I need to compare 2 JSON arrays using Mule 4 dataweave 2.0 to get matching and un-matching outputs. The sample input JSON payload is given below: [ { "CODE": "A11", "NAME": "Alpha", "ID": "C10000" }, { "CODE": "B12", "NAME": "Bravo", "ID": "B20000" }, { "CODE": "C11", "NAME": "Charlie", "ID": "C30000" }, { "CODE": "D12", "NAME": "Delta", "ID": "D40000" }, { "CODE": "E12", "NAME": "Echo", "ID": "E50000" } ] This has to be compared to the below on ID/IDENTITY field. [ { "IDENTITY": "D40000",

No connection in docker with ports exposed and published

青春壹個敷衍的年華 提交于 2020-12-12 05:39:41
问题 I have some middleware running in a docker container. When I run this middleware on my host machine everything works fine . When I ran it on the docker container with all the necessary ports exposed and published : Dockerfile: EXPOSE 5672 15672 1337 1338 5556 3000 Docker-compose.yml ports: - "5672:5672" - "15672:15672" - "1337:1337" - "1338:1338" - "5556:5556" - "3000:3000" It’s weird because I have rabbitmq and mule in that image. Rabbit works well beacause I can access the management

Mule batch processing vs foreach vs splitter-aggregator

青春壹個敷衍的年華 提交于 2020-05-13 17:57:30
问题 In Mule, I have quite many records to process, where processing includes some calculations, going back and forth to database etc.. We can process collections of records with these options Batch processing ForEach Splitter-Aggregator So what are the main differences between them? When should we prefer one to others? Mule batch processing option does not seem to have batch job scope variable definition, for example. Or, what if I want to benefit multithreading to fasten the overall task? Or,

Mule batch processing vs foreach vs splitter-aggregator

房东的猫 提交于 2020-05-13 17:54:25
问题 In Mule, I have quite many records to process, where processing includes some calculations, going back and forth to database etc.. We can process collections of records with these options Batch processing ForEach Splitter-Aggregator So what are the main differences between them? When should we prefer one to others? Mule batch processing option does not seem to have batch job scope variable definition, for example. Or, what if I want to benefit multithreading to fasten the overall task? Or,

Want to capture Data Load Log to a SQL or Snowflake table in Mule Flow

两盒软妹~` 提交于 2020-01-30 10:57:27
问题 <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:batch="http://www.mulesoft.org/schema/mule/batch" xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core" xmlns:db="http://www.mulesoft.org/schema/mule/db" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http:/

Want to capture Error log for a Mule Flow and looking for following information

一世执手 提交于 2020-01-26 04:40:08
问题 I have a flow Which dynamically loads data from Source tables to Destination tables. Refer Flow Screenshot below: If anythings fail in this flow, I want to capture Flow_Name, Task_Name and Error_Desc. I already have following information into variables: Source_Table,Destination_Table,Source_Query,Destination_Query Table Structure: Want to capture Data Load Log to a SQL or Snowflake table in Mule Flow 来源: https://stackoverflow.com/questions/59870996/want-to-capture-error-log-for-a-mule-flow

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