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
0
71
Chamando um flow de dentro do Transform Message
Chamando um flow de dentro do Transform Message
Alex teles
January 17, 2017
Tweet
Share
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
88
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
67
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
39
MuleSoft mock com set payload
alexteles10
0
45
Como excluir o conector do facebook Do anyponit
alexteles10
0
66
Baixando conectores que não são nativos
alexteles10
0
57
Editor do Anypoint
alexteles10
0
41
MuleSoft Como fazer um when dentro de um when
alexteles10
0
45
MuleSoft Property configuração
alexteles10
0
56
Other Decks in Education
See All in Education
ThingLink
matleenalaakso
28
4.1k
Education-JAWS #3 ~教育現場に、AWSのチカラを~
masakiokuda
0
160
サンキッズゾーン 春日井駅前 ご案内
sanyohomes
0
300
AIの時代こそ、考える知的学習術
yum3
2
160
2025年度春学期 統計学 第10回 分布の推測とは ー 標本調査,度数分布と確率分布 (2025. 6. 12)
akiraasano
PRO
0
130
SkimaTalk Teacher Guidelines
skimatalk
0
790k
アウトプット0のエンジニアが半年でアウトプットしまくった話 With JAWS-UG
masakiokuda
2
300
2025.05.10 技術書とVoicyとわたし #RPALT
kaitou
1
210
i-GIP 2025 中高生のみなさんへ資料
202200
0
480
Pythonパッケージ管理 [uv] 完全入門
mickey_kubo
20
13k
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2k
自己紹介 / who-am-i
yasulab
PRO
3
5.2k
Featured
See All Featured
Practical Orchestrator
shlominoach
188
11k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Faster Mobile Websites
deanohume
307
31k
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