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
Alex teles
January 17, 2017
Education
79
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
46
MuleSoft mock com set payload
alexteles10
0
55
Como excluir o conector do facebook Do anyponit
alexteles10
0
71
Baixando conectores que não são nativos
alexteles10
0
61
Editor do Anypoint
alexteles10
0
47
MuleSoft Como fazer um when dentro de um when
alexteles10
0
61
MuleSoft Property configuração
alexteles10
0
62
Other Decks in Education
See All in Education
Padlet opetuksessa
matleenalaakso
12
15k
良い塩梅を実現する、AWSネットワーク3分クッキング
masakiokuda
1
230
コマンドラインの使い方 / 01-d-cli
kaityo256
PRO
0
130
SL AMIGOS 教育格差と私たちの取り組み - スリランカの支援学校への支援プロジェクト:リシンドゥ リオ 氏 (別府溝部学園短期大学 ビジネス観光コース 留学生):2720 Japan O.K. ロータリーEクラブ2026年4月6日卓話
2720japanoke
0
520
PE testbench data order
songchch
0
660
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4019538FNR)
signer
PRO
0
3.1k
Google Antigravity エージェント・フ ァーストな開発パラダイムへの招待
mickey_kubo
1
120
(2026) Quelle(s) mathématique(s) dans la "grande" culture?
mansuy
1
100
0121
cbtlibrary
0
150
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
2.1k
Flinga
matleenalaakso
4
15k
アジャイルなマインドセットを「取り戻す」新人研修づくり
chinmo
2
330
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
95
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
340
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
Odyssey Design
rkendrick25
PRO
2
570
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
First, design no harm
axbom
PRO
2
1.2k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
120
My Coaching Mixtape
mlcsv
0
95
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