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
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
AI-Based Speaking Assessment of a Short-Term Study Abroad Program
uranoken
0
480
Examen de Selectividad. Geografía julio 2026 (Convocatoria Extraordinaria). UCLM
juanmartin2026
1
13k
1人 × AI、1か月でここまで作れる ー 数年前の外注換算3.8〜7.4億円・241〜379人月分の作業を、AI費用 約10万円・31日で
frievea
0
460
INTRODUCTION TO THE CELL
pawan5505
0
160
オンラインコミュニティ TRY部 体験マニュアル
ytapples613
0
350
新しいJavaを学んで・使っていこう! / osd26do
gishi_yama
0
250
Beyond the Prompt: Programming as a Pathway to Statistical Thinking
minecr
0
350
AIの力を100%引き出すために
frievea
0
480
Modulo : abc
robintux
0
120
Data Management and Analytics Specialisation
signer
PRO
0
2k
生成AI時代のエンジニア育成について考えてみた
akasan
0
230
2026年度春学期 統計学 第10回 分布の推測とは - 標本調査,度数分布と確率分布 (2026. 6. 4)
akiraasano
PRO
0
200
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
650
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Chasing Engaging Ingredients in Design
codingconduct
0
300
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
680
Embracing the Ebb and Flow
colly
88
5.2k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Paper Plane
katiecoart
PRO
2
53k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
510
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