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 Ultilizando Json e lendo no For Each
Search
Alex teles
August 12, 2016
Education
0
56
MuleSoft Ultilizando Json e lendo no For Each
MuleSoft Ultilizando Json e lendo no For Each
Alex teles
August 12, 2016
Tweet
Share
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
88
Chamando um flow de dentro do Transform Message
alexteles10
0
71
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
67
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
39
MuleSoft mock com set payload
alexteles10
0
45
Como excluir o conector do facebook Do anyponit
alexteles10
0
66
Baixando conectores que não são nativos
alexteles10
0
57
Editor do Anypoint
alexteles10
0
41
MuleSoft Como fazer um when dentro de um when
alexteles10
0
45
Other Decks in Education
See All in Education
Constructing a Custom TeX Ecosystem for Educational Institutions—Beyond Academic Typesetting
doratex
1
9.1k
SkimaTalk Teacher Guidelines Summary
skimatalk
0
790k
マネジメント「される側」 こそ覚悟を決めろ
nao_randd
10
5.3k
OpenRobomaster 中国のロボットコンテスト 日本連携の可能性
takasumasakazu
0
450
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
signer
PRO
0
2.4k
Common STIs in London: Symptoms, Risks & Prevention
medicaldental
0
130
予習動画
takenawa
0
5.1k
Data Management and Analytics Specialisation
signer
PRO
0
1.4k
JPCERTから始まる草の根活動~セキュリティ文化醸成のためのアクション~
masakiokuda
0
180
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
450
Linuxのよく使うコマンドを解説
mickey_kubo
1
130
AIC 103 - Applications of Property Valuation: Essential Slides
rmccaic
0
200
Featured
See All Featured
Code Review Best Practice
trishagee
68
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
The Invisible Side of Design
smashingmag
299
51k
Agile that works and the tools we love
rasmusluckow
329
21k
Docker and Python
trallard
44
3.4k
Navigating Team Friction
lara
187
15k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Gamification - CAS2011
davidbonilla
81
5.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Transcript
MuleSoft
Lendo Json e inteirando no For Each
Conectores utilizados. HTTP Logger Trasnform For Each
Flow completo
No conector no HTTP cria uma configuração nova seta para
localhost porta: 8081
Configuração do Logger
Criei um arquivo Json de acordo com que vai ser
passado via HTTP
Json { "Produtos":[ { "Nome":"teste_1", "Descricao":"Pacote de fuba", "valor":13 },
{ "nome":"teste_2", "Descricao":"Coca-cola", "valor":11 } ] }
Transform Message
Referenciando o Json
Cria o nome para ser representado no aqui
Seta p type para Json escolhe example e localiza seu
exemplo de Json
Depois de ter criado seu exemplo de Json e setando
para o Transform Message vai fica desse jeito
Agora de json transformo em uma lista de objetos para
ser lido no for each
No For Each vai ler toda lista um por de
cada vez por conta do Batck Size 1
O Logger dentro do for imprime o contador
Obrigado chegamos ao Fim Ate a próxima.