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
45
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
86
Chamando um flow de dentro do Transform Message
alexteles10
0
68
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
63
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
35
MuleSoft mock com set payload
alexteles10
0
40
Como excluir o conector do facebook Do anyponit
alexteles10
0
64
Baixando conectores que não são nativos
alexteles10
0
56
Editor do Anypoint
alexteles10
0
39
MuleSoft Como fazer um when dentro de um when
alexteles10
0
40
Other Decks in Education
See All in Education
オープンソース防災教育ARアプリの開発と地域防災での活用
nro2daisuke
0
200
勉強したらどうなるの?
mineo_matsuya
10
6.8k
LinkedIn
matleenalaakso
0
3.4k
Library Prefects 2024-2025
cbtlibrary
0
120
Chapitre_1_-__L_atmosphère_et_la_vie_-_Partie_2.pdf
bernhardsvt
0
210
Zero to Hero
takesection
0
130
Web Architectures - Lecture 2 - Web Technologies (1019888BNR)
signer
PRO
0
2.7k
Sähköiset kyselyt, kokeet ja arviointi
matleenalaakso
1
17k
1113
cbtlibrary
0
270
(2024) Couper un gâteau... sans connaître le nombre de convives
mansuy
2
160
脳卒中になってしまった さあ、どうする
japanstrokeassociation
0
1.1k
2024年度秋学期 統計学 第2回 統計資料の収集と読み方(授業前配付用) (2024. 10. 2)
akiraasano
PRO
0
100
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Six Lessons from altMBA
skipperchong
27
3.5k
Building Adaptive Systems
keathley
38
2.3k
Site-Speed That Sticks
csswizardry
2
190
A Tale of Four Properties
chriscoyier
157
23k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Facilitating Awesome Meetings
lara
50
6.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
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