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
0
52
Mulesoft Usando o componente Groovy
Mulesoft Usando o componente Groovy
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
99
Chamando um flow de dentro do Transform Message
alexteles10
0
77
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
72
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
69
Baixando conectores que não são nativos
alexteles10
0
61
Editor do Anypoint
alexteles10
0
45
MuleSoft Como fazer um when dentro de um when
alexteles10
0
54
Other Decks in Education
See All in Education
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
栃木にいても「だいじ」だっぺ〜! 栃木&全国アジャイルコミュニティへの参加・運営の魅力
sasakendayo
1
140
【ZEPホスト用メタバース校舎操作ガイド】
ainischool
0
170
いわゆる「ふつう」のキャリアを歩んだ人の割合(若者向け)
hysmrk
0
310
Flinga
matleenalaakso
3
15k
AIでキミの未来はどう変わる?
behomazn
0
100
KBS新事業創造体験2025_科目説明会
yasuchikawakayama
0
160
1014
cbtlibrary
0
530
The browser strikes back
jonoalderson
0
390
【ベテランCTOからのメッセージ】AIとか組織とかキャリアとか気になることはあるけどさ、個人の技術力から目を背けないでやっていきましょうよ
netmarkjp
2
2.8k
JAPAN AI CUP Prediction Tutorial
upura
2
690
学習指導要領と解説に基づく学習内容の構造化の試み / Course of study Commentary LOD JAET 2025
masao
0
120
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
WENDY [Excerpt]
tessaabrams
9
36k
Automating Front-end Workflow
addyosmani
1371
200k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
150
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
68
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
100
Docker and Python
trallard
47
3.7k
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