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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alex teles
August 12, 2016
Education
53
0
Share
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
100
Chamando um flow de dentro do Transform Message
alexteles10
0
81
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
75
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
48
MuleSoft mock com set payload
alexteles10
0
58
Como excluir o conector do facebook Do anyponit
alexteles10
0
73
Baixando conectores que não são nativos
alexteles10
0
63
Editor do Anypoint
alexteles10
0
49
MuleSoft Como fazer um when dentro de um when
alexteles10
0
70
Other Decks in Education
See All in Education
Alumnote inc. Company Deck
yukinumata
1
18k
Curso de Consagração ao Sagrado Coração de Jesus - O Sagrado Coração na História (Aula 01)
cm_manaus
0
150
JAWS-UG初心者支部#81 GWにEduJAWSと何か作ろうもくもく会!
otsuki
0
110
Liberalism's Last Man and Asia
vyadav
0
130
偶然のチャンスを掴みに行けるのは君だ!
kotomin_m
2
100
Interaction - Lecture 10 - Information Visualisation (4019538FNR)
signer
PRO
0
2.6k
[2026前期火5] 論理学(京都大学文学部 前期 第4回)「 ならば(→)の導入と証明ネット」
yatabe
0
330
From Participation to Outcomes
territorium
PRO
0
450
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
1
2.7k
反応する前に「受容する」力を鍛える。 自分の安全地帯🌱 を育てよう / Cultivating and sharing ventral vagal safety.
spring_aki
0
170
The Art & Science of Elearning
tmiket
1
200
Implicit and Cross-Device Interaction - Lecture 10 - Next Generation User Interfaces (4018166FNR)
signer
PRO
2
2.3k
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Design in an AI World
tapps
1
210
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
170
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
190
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.6k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
190
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
Bash Introduction
62gerente
615
210k
Ethics towards AI in product and experience design
skipperchong
2
280
We Are The Robots
honzajavorek
0
230
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