$30 off During Our Annual Pro Sale. View Details »
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
93
Chamando um flow de dentro do Transform Message
alexteles10
0
76
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
70
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
43
MuleSoft mock com set payload
alexteles10
0
52
Como excluir o conector do facebook Do anyponit
alexteles10
0
69
Baixando conectores que não são nativos
alexteles10
0
59
Editor do Anypoint
alexteles10
0
45
MuleSoft Como fazer um when dentro de um when
alexteles10
0
48
Other Decks in Education
See All in Education
Cifrado asimétrico
irocho
0
360
MySmartSTEAM 2526
cbtlibrary
0
160
HCI and Interaction Design - Lecture 2 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.4k
焦りと不安を、技術力に変える方法 - 新卒iOSエンジニアの失敗談と成長のフレームワーク
hypebeans
1
610
IKIGAI World Fes:program
tsutsumi
1
2.6k
卒論の書き方 / Happy Writing
kaityo256
PRO
50
27k
Introdución ás redes
irocho
0
510
国際卓越研究大学計画|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
35k
2025年度伊藤正彦ゼミ紹介
imash
0
140
Презентация "Знаю Россию"
spilsart
0
380
20250910_エンジニアの成長は自覚するところから_サポーターズ勉強会
ippei0923
0
360
Padlet opetuksessa
matleenalaakso
9
15k
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
860
Joys of Absence: A Defence of Solitary Play
codingconduct
1
250
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
HDC tutorial
michielstock
0
260
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Everyday Curiosity
cassininazir
0
100
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
860
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
0
190
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