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 Usando o componente Groovy
Search
Alex teles
August 12, 2016
Education
55
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mulesoft Usando o componente Groovy
Mulesoft Usando o componente Groovy
Alex teles
August 12, 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
64
Como excluir o conector do facebook Do anyponit
alexteles10
0
78
Baixando conectores que não são nativos
alexteles10
0
67
Editor do Anypoint
alexteles10
0
55
MuleSoft Como fazer um when dentro de um when
alexteles10
0
73
Other Decks in Education
See All in Education
Examen de Selectividad. Geografía junio 2026 (Convocatoria Ordinaria). UCLM
juanmartin2026
1
5.1k
The Strengthening Institutions Program
territorium
PRO
0
140
Examen de Selectividad. Geografía julio 2026 (Convocatoria Extraordinaria). UCLM
juanmartin2026
1
12k
Fundamentos, Caracteristicas y Aplicaciones de los Modulos NumPy , Matplotlib y Pandas
robintux
0
220
Center for Entrepreneurship Education | Science Tokyo (Institute of Science Tokyo)
sciencetokyo
PRO
0
260
Soluciones al examen de Geografía 2026. JULIO (Convocatoria Extraordinaria)
juanmartin2026
1
18k
Adobe Express
matleenalaakso
2
8.3k
2026年度春学期 統計学 第11回 分布の「型」を考える - 確率分布モデルと正規分布 (2026. 6. 11)
akiraasano
PRO
0
170
[2026前期火5] 論理学(京都大学文学部 前期 第9回)「正規化の停止性——ヒドラゲームによる証明」
yatabe
0
230
チームの鏡になるー自分の癖を知ると、チームのパターンが見えてくる@スクフェス仙台
saorimurooka
0
140
[2026前期火5] 論理学(京都大学文学部 前期 第5回)「 ならばの問題演習・proof net・かつの規則」
yatabe
0
390
[2026前期火5] 論理学(京都大学文学部 前期 第11回)「ハーモニー:三層モデルと保存拡大」
yatabe
0
240
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
Ruling the World: When Life Gets Gamed
codingconduct
0
310
Done Done
chrislema
186
16k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
540
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Building an army of robots
kneath
306
46k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Designing for Timeless Needs
cassininazir
1
450
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
500
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
300
Side Projects
sachag
455
43k
Transcript
MULESOFT
Usando o componente Groovy
Visão geral
Vamos criar uma variável com essas configuraçõ es O valor
tem que ta assim #[] para criar ela vazia e set um nome para ela
XML do log com a variavel • <logger message="#[payload]" level="INFO"
doc:name="Logger"/> • <set-variable variableName="variavel_01" value="" doc:name="Variable"/>
Script groovy para saber se o payload esta diferente de
null Código groovy
XML do groovy • <scripting:component doc:name="Groovy"> • <scripting:script engine="Groovy"><![CDATA[if(payload !=
null){ • flowVars ['variavel_01'] = "groovy Payload ok" • } • else{ • flowVars ['variavel_01'] = "Payload vazio" • } • ]]></scripting:script> • </scripting:component>
Imprime a variável com o valor preenchido no groovy
XML Completo
• Obrigado pela sua atenção Fim