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
53
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
78
Chamando um flow de dentro do Transform Message
alexteles10
0
58
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
56
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
32
MuleSoft mock com set payload
alexteles10
0
33
Como excluir o conector do facebook Do anyponit
alexteles10
0
58
Baixando conectores que não são nativos
alexteles10
0
46
Editor do Anypoint
alexteles10
0
38
MuleSoft Como fazer um when dentro de um when
alexteles10
0
37
Other Decks in Education
See All in Education
Pen-based Interaction - Lecture 4 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.2k
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
signer
PRO
1
1.7k
MySmartSTEAM2324
cbtlibrary
0
120
執筆テーマの決め方
sapi_kawahara
1
180
人生の転機からチャンスを掴む「シュロスバーグの4Sモデル」/4s-models
yuko_yokouchi
2
730
H5P-työkalut
matleenalaakso
3
32k
Virtual and Augmented Reality - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.2k
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4019538FNR)
signer
PRO
0
1.7k
Canva
matleenalaakso
0
160
子どもたち創造的活動機会の必要性に関する提言/creativehub
codeforeveryone
0
230
【滋賀大学データサイエンス学部】PropTech(不動産テック)における AI・データサイエンス活用
takehikohashimoto
0
4.1k
第33回 JAWS-UG札幌 クラウド女子会コラボ 勉強会
nagisa53
2
360
Featured
See All Featured
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Designing with Data
zakiwarfel
96
4.8k
Git: the NoSQL Database
bkeepers
PRO
422
63k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
Visualization
eitanlees
136
14k
A designer walks into a library…
pauljervisheath
200
23k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
Optimising Largest Contentful Paint
csswizardry
8
2.4k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
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.