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
Chamando um flow de dentro do Transform Message
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alex teles
January 17, 2017
Education
80
0
Share
Chamando um flow de dentro do Transform Message
Chamando um flow de dentro do Transform Message
Alex teles
January 17, 2017
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
100
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
75
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
47
MuleSoft mock com set payload
alexteles10
0
58
Como excluir o conector do facebook Do anyponit
alexteles10
0
72
Baixando conectores que não são nativos
alexteles10
0
62
Editor do Anypoint
alexteles10
0
48
MuleSoft Como fazer um when dentro de um when
alexteles10
0
67
MuleSoft Property configuração
alexteles10
0
63
Other Decks in Education
See All in Education
Populism, Post-Liberalism & Climate Change
vyadav
0
150
Interactive Tabletops and Surfaces - Lecture 5 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
2.2k
コミュニティを通じた_キャリア設計のススメ_20260424.pdf
masakiokuda
0
270
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
signer
PRO
1
3.1k
バージョン管理とは / 01-a-vcs
kaityo256
PRO
1
330
Investigating Changes in Self-Assessed Spoken English Proficiency in a Three-Week Study-Abroad Program
uranoken
0
170
「機械学習と因果推論」入門① 因果効果とは
masakat0
0
1.7k
AI進化史:LLMからAIエージェントへ
mickey_kubo
0
160
Liberalism's Last Man and Asia
vyadav
0
120
What workforce agencies must have in place to compete for and deliver on RESTART grants
territorium
PRO
0
150
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.6k
AIには考えられないことを考えられる人になるために
iqbocchi
1
110
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Leo the Paperboy
mayatellez
7
1.8k
Six Lessons from altMBA
skipperchong
29
4.2k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
560
The World Runs on Bad Software
bkeepers
PRO
72
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Between Models and Reality
mayunak
3
290
The Language of Interfaces
destraynor
162
26k
Transcript
Mulesoft
Chamando um flow de dentro do Transform Message
Vamos ultilizar dois flows, um com transform que vai
chaar o outro flow como na imagem
Poll para iniciar a chamada
Aqui está o segredo chama o nome do segundo flow
no lookup e pode passar parâmetros
Setando valor para o payload para retorna para o segundo
flow
XML <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking"
xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule- tracking-ee.xsd"> <flow name="lookup-flowsFlow"> <poll doc:name="Poll"> <fixed-frequency-scheduler frequency="10000" timeUnit="MINUTES"/> <logger message="START" level="INFO" doc:name="Logger"/> </poll> <dw:transform-message doc:name="Transform Message"> <dw:set-payload><![CDATA[%dw 1.0
XML 2 %output application/java --- {
nome: lookup ("segundoFlow",{}) }]]></dw:set-payload> </dw:transform-message> <logger message="=== result === #[message.payloadAs(java.lang.String)]" level="INFO" doc:name="Logger"/> </flow> <flow name="segundoFlow"> <logger level="INFO" doc:name="Logger"/> <set-payload value="#["Alex Lindo"]" doc:name="Set Payload"/> </flow> </mule>
FIM