Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Chamando um flow de dentro do Transform Message
Search
Alex teles
January 17, 2017
Education
85
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
120
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
82
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
52
MuleSoft mock com set payload
alexteles10
0
64
Como excluir o conector do facebook Do anyponit
alexteles10
0
79
Baixando conectores que não são nativos
alexteles10
0
68
Editor do Anypoint
alexteles10
0
56
MuleSoft Como fazer um when dentro de um when
alexteles10
0
74
MuleSoft Property configuração
alexteles10
0
65
Other Decks in Education
See All in Education
Center for Entrepreneurship Education | Science Tokyo (Institute of Science Tokyo)
sciencetokyo
PRO
0
370
生成AI時代のエンジニア育成について考えてみた
akasan
0
240
[2026前期火5] 論理学(京都大学文学部 前期 第11回)「ハーモニー:三層モデルと保存拡大」
yatabe
0
280
セキュリティ担当がいない中小医療機関を院外のRISSはどう支えるべきか / How External RISS Can Help Small Medical Institutions
eller86
0
180
Visionary Initiative: Materials-Positive Society 「モノの進化をポジティブな社会の原動力に」|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
1.3k
Modulo : abc
robintux
0
150
人間のために、人間と共に働く時代の終わりの始まり
frievea
0
170
Visionary Initiative: Future Intelligence — Laying the foundations for the future of science, intelligence, and society | Science Tokyo
sciencetokyo
PRO
0
290
25-26 CBT Library top items
cbtlibrary
0
210
Réunion des directrices et directeurs des écoles de la circonscription de Jonzac - 31 août 2026
fmarot
0
120
学生のうちに考えておきたい信頼の話
suisan
1
770
Del ojo entrenado a la visión computacional: evaluación de la severidad de enfermedades
emdelponte
0
120
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
680
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
Rails Girls Zürich Keynote
gr2m
96
14k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
440
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
690
Exploring anti-patterns in Rails
aemeredith
3
500
Optimizing for Happiness
mojombo
378
71k
Visualization
eitanlees
152
17k
How to build a perfect <img>
jonoalderson
1
6k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
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