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
SpeakerDeck.com
Search
Alex teles
August 10, 2016
Education
52
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SpeakerDeck.com
SpeakerDeck.com
Alex teles
August 10, 2016
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 Juntando duas ou mais Listas ordenadas
alexteles10
0
82
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
52
MuleSoft mock com set payload
alexteles10
0
65
Como excluir o conector do facebook Do anyponit
alexteles10
0
79
Baixando conectores que não são nativos
alexteles10
0
68
Editor do Anypoint
alexteles10
0
56
MuleSoft Como fazer um when dentro de um when
alexteles10
0
74
Other Decks in Education
See All in Education
学習者データを「見る」:外国語教師のためのデータの入力、分析、解釈方法
uranoken
0
340
Quality Control of Crude Drugs
pawan_pharm
0
160
An Experiment in "Cross-Cultural Exchange" as a Method for Content Creation
naoji_taniguchi_ksk_0827
0
220
Soluciones al examen de Geografía 2026. JULIO (Convocatoria Extraordinaria)
juanmartin2026
1
19k
!コスパよくインターンに受かる方法!
ruribou
1
370
Modulo : abc
robintux
0
200
新しいJavaを学んで・使っていこう! / osd26do
gishi_yama
0
260
良書紹介08_ 頭のいい子がやっているすごいグラフの読み方
bunnchinn3
0
160
武藤の処世術を書いてみた
mutomasa
0
120
未踏峰連山 Frontiers: Creating and Conquering Untrodden Peaks
ishii_mit
1
110
AI Generated Beer
lonbrew
0
120
iSpindel & AI
lonbrew
0
110
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
600
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Color Theory Basics | Prateek | Gurzu
gurzu
1
470
How to Ace a Technical Interview
jacobian
281
24k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
700
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
240
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Bash Introduction
62gerente
615
220k
Ruling the World: When Life Gets Gamed
codingconduct
0
340
Transcript
MeluSoft
Como cria um loop sem usar for each groovy ou
java
Configuração do projeto Dois flow Set payload
Logger Flow Reference Choice
Flow completo
Configuração do poll
Xml do poll
Seta no payload o valor das voltas que vai ser
executado
XML poll <set-payload value="#[3]" doc:name="Set Payload"/>
Mostra o que tem no payload
No reference flow chama o segundo flow
Segundo flow do loop
Log para ver o que esta chegando.
Choice com a condição #[payload > 1] isso é uma
expreção
<choice doc:name="Choice"> <when expression="#[payload > 1]"> <logger
message="Entrou no Choice" level="INFO" doc:name="Logger"/> <set-payload value="#[payload - 1 ]" doc:name="Set Payload"/> <flow-ref name="loop_de_flowFlow_2" doc:name="Chama_flow_2"/> </when> <otherwise> <logger message="Fim....." level="INFO" doc:name="Logger"/> </otherwise> </choice>
Aqui estou decrementando o payload
Chama o mesmo flow
<?xml version="1.0" encoding="UTF-8"?> <mule xmlns:schedulers="http://www.mulesoft.org/schema/mule/schedulers" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" 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/schedulers http://www.mulesoft.org/schema/mule/schedulers/current/mule-schedulers.xsd http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd"> <flow name="loop_de_flowFlow_1"> <poll doc:name="Poll">
<flow name="loop_de_flowFlow_1"> <poll doc:name="Poll"> <schedulers:cron-scheduler expression="0 0
0 1 * ? 2016"/> <logger message="Iniciado" level="INFO" doc:name="Logger"/> </poll> <set-payload value="#[3]" doc:name="Set Payload"/> <logger message="Valor do payload ======= #[payload] ============" level="INFO" doc:name="Logger"/> <flow-ref name="loop_de_flowFlow_2" doc:name="Chama_Flow_2"/> </flow>
<flow name="loop_de_flowFlow_2"> <logger message="#[payload]" level="INFO" doc:name="Logger"/> <choice
doc:name="Choice"> <when expression="#[payload > 1]"> <logger message="Entrou no Choice" level="INFO" doc:name="Logger"/> <set-payload value="#[payload - 1 ]" doc:name="Set Payload"/> <flow-ref name="loop_de_flowFlow_2" doc:name="Chama_flow_2"/> </when> <otherwise> <logger message="Fim....." level="INFO" doc:name="Logger"/> </otherwise> </choice> </flow> </mule>
Obrigado Fim