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
Flinga
matleenalaakso
3
15k
AIでキミの未来はどう変わる?
behomazn
0
100
外国籍エンジニアの挑戦・新卒半年後、気づきと成長の物語
hypebeans
0
730
卒論の書き方 / Happy Writing
kaityo256
PRO
54
28k
2025-10-30 社会と情報2025 #05 CC+の代わり
mapconcierge4agu
0
110
NUTMEG紹介スライド
mugiiicha
0
910
子どもが自立した学習者となるデジタルの活用について
naokikato
PRO
0
180
滑空スポーツ講習会2025(実技講習)EMFT学科講習資料/JSA EMFT 2025
jsaseminar
0
230
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
280
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
JavaScript - Lecture 6 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
栃木にいても「だいじ」だっぺ〜! 栃木&全国アジャイルコミュニティへの参加・運営の魅力
sasakendayo
1
140
Featured
See All Featured
Design in an AI World
tapps
0
140
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
55
Designing for humans not robots
tammielis
254
26k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Designing for Performance
lara
610
70k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
170
How GitHub (no longer) Works
holman
316
140k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
370
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