Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MuleSoft Juntando duas ou mais Listas ordenadas
Search
Alex teles
January 10, 2017
Education
82
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MuleSoft Juntando duas ou mais Listas ordenadas
MuleSoft Juntando duas ou mais Listas ordenadas
Alex teles
January 10, 2017
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
120
Chamando um flow de dentro do Transform Message
alexteles10
0
85
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
53
MuleSoft mock com set payload
alexteles10
0
66
Como excluir o conector do facebook Do anyponit
alexteles10
0
86
Baixando conectores que não são nativos
alexteles10
0
69
Editor do Anypoint
alexteles10
0
58
MuleSoft Como fazer um when dentro de um when
alexteles10
0
76
MuleSoft Property configuração
alexteles10
0
65
Other Decks in Education
See All in Education
LEGO Geometry Tutorial
arnoknobbe
0
700
実践プレゼンテーション・デザイン
dragon2
1
400
Sekolah Sabat - Triwulan 3 2026 - Pelajaran 12
hiola
0
12k
2026年度秋学期 統計学 第3回 クロス集計と感度・特異度,データの可視化 (2026. 10. 13)
akiraasano
PRO
0
110
Fundamentos, Caracteristicas y Aplicaciones de los Modulos NumPy , Matplotlib y Pandas
robintux
0
290
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 1
hiola
0
12k
Science Tokyo University for International Research Excellence scheme_April 2026
sciencetokyo
PRO
0
440
20260908_ターゲットとスコープを決める発表法
masakiokuda
1
130
EL GEOPARQUE MUNDIAL UNESCO VOLCANES DE CALATRAVA: DE LA INVESTIGACIÓN CIENTÍFICA A LA TRANSPOSICIÓN DIDÁCTICA EN EL AULA
juanmartin2026
0
11k
ちいかわを読め
uchi8977
1
390
Tema 1. El relieve de España: Formación y características
juanmartin2026
0
38k
Requirements Analysis and Prototyping - Lecture 3 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.8k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
How STYLIGHT went responsive
nonsquared
100
6.3k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.3k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
420
Ethics towards AI in product and experience design
skipperchong
2
420
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
260
Transcript
MuleSoft 2017
Juntando duas ou mais Listas ordenadas
Visão geral de como vai ser feito no exemplo
Exemplo de Payload que vamos usar de como dever ser
a saída.
Configuração do Poll
Primeira lista setada no payload do type json
Segunda lista setada como uma lista de Strings java
Terceira lista setada como inteiro
Como vai ficar a saída
Lista 1 Lista 2 Lista 3 Lista 1 Lista 2
Lista 3
Index das listas
Rodando o projeto em odo degug
Payload antes de justar as listas Variáveis com as listas
Listas mescladas
XML Gerado
<?xml version="1.0" encoding="UTF-8"?> <mule xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="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-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd"> <flow name="mock-set-payloadFlow"> <poll doc:name="Poll"> <fixed-frequency-scheduler frequency="1000" timeUnit="MINUTES"/> <logger message="====Start=====" level="INFO" doc:name="Logger"/> </poll> <set-payload value="[
{"Nome":"pao", "Descricao":"pao de queijo"}, {"Nome":"queijo", "Descricao":"queijo coalho"}, {"Nome":"Pipoca","Descricao":"Pipoca com mantega"}
]" doc:name="Set Payload" mimeType="application/json"/> <set-variable variableName="varValores" value="#[['10','221','399']]" mimeType="application/java" doc:name="Variable_valores"/> <set-variable variableName="varQTD" value="#[[3,1,10]]" doc:name="Variable_quantidades"/> <dw:transform-message metadata:id="26f9ac57-0bb8-4858-9518-148549e84370" doc:name="Transform Message"> <dw:input-payload mimeType="application/json"/> <dw:set-payload><![CDATA[%dw 1.0 %output application/java
--- payload map ((payloadProduto , index) -> { Name: payloadProduto.Nome,
Description: payloadProduto.Descricao, Value: flowVars.varValores[index], Quantity: flowVars.varQTD[index] })]]></dw:set-payload> </dw:transform-message> <logger message="=====resultado======#[message.payloadAs(java.lang.String)]" level="INFO" doc:name="Logger"/> </flow> </mule>
Bom Chegamos ou FIM Obrigado a todos