Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MuleSoft Juntando duas ou mais Listas ordenadas
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alex teles
January 10, 2017
Education
0
74
MuleSoft Juntando duas ou mais Listas ordenadas
MuleSoft Juntando duas ou mais Listas ordenadas
Alex teles
January 10, 2017
Tweet
Share
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
100
Chamando um flow de dentro do Transform Message
alexteles10
0
79
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
46
MuleSoft mock com set payload
alexteles10
0
55
Como excluir o conector do facebook Do anyponit
alexteles10
0
71
Baixando conectores que não são nativos
alexteles10
0
61
Editor do Anypoint
alexteles10
0
46
MuleSoft Como fazer um when dentro de um when
alexteles10
0
61
MuleSoft Property configuração
alexteles10
0
61
Other Decks in Education
See All in Education
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
1
240
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
1216
cbtlibrary
0
160
OSINT入門-CTF for GIRLS_SECCON14電脳会議
nomizone
1
1.2k
Modelamiento Matematico (Ingresantes UNI 2026)
robintux
0
260
0203
cbtlibrary
0
140
2025年の本当に大事なAI動向まとめ
frievea
1
200
Introduction - Lecture 1 - Next Generation User Interfaces (4018166FNR)
signer
PRO
2
4.5k
Multimodal Interaction - Lecture 3 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2k
滑空スポーツ講習会2025(実技講習)EMFT講習 実施要領/JSA EMFT 2025 procedure
jsaseminar
0
150
高校数学B「統計的な推測」 分野の問題と課題
shimizudan
1
120
The World That Saved Me: A Story of Community and Gratitude
_hashimo2
4
540
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
250
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
130
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Test your architecture with Archunit
thirion
1
2.2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
190
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
860
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
150
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