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
MuleSoft Usando Filter costom
Search
Alex teles
August 11, 2016
Education
0
54
MuleSoft Usando Filter costom
MuleSoft Usando Filter costom
Alex teles
August 11, 2016
Tweet
Share
More Decks by Alex teles
See All by Alex teles
Mulesoft configurando conexão com banco AS400 DB2
alexteles10
0
78
Chamando um flow de dentro do Transform Message
alexteles10
0
58
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
56
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
32
MuleSoft mock com set payload
alexteles10
0
33
Como excluir o conector do facebook Do anyponit
alexteles10
0
56
Baixando conectores que não são nativos
alexteles10
0
46
Editor do Anypoint
alexteles10
0
38
MuleSoft Como fazer um when dentro de um when
alexteles10
0
37
Other Decks in Education
See All in Education
アプリ開発を目指した授業づくりについて
asial_corp
0
370
20240319AJG
tosseto
0
270
【業務イメージスライド】コンサル_観光業の変化について_セナカインターン
cenaka_intern
0
180
高可用性システム構築 - Oracle Data Guard基本編
oracle4engineer
PRO
2
670
WordPressを教える人のための視点と考え方
crebowinfo
0
210
Monaca Educationを活用した課題解決型の探究学習の実践
asial_edu
0
160
UniKL 2024 - Phishing Security Awareness: Malware
x86fatah
0
100
Railsチュートリアルの歩き方 (第7版)
yasslab
PRO
1
1M
Canva
matleenalaakso
0
110
はじめに。『Synchronic』を作った本当の理由
akane69
PRO
1
110
H5P-työkalut
matleenalaakso
3
32k
LightSail2324
cbtlibrary
0
110
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
407
22k
KATA
mclloyd
14
11k
Design by the Numbers
sachag
274
18k
Debugging Ruby Performance
tmm1
68
11k
BBQ
matthewcrist
78
8.7k
Music & Morning Musume
bryan
39
5.5k
Scaling GitHub
holman
456
140k
WebSockets: Embracing the real-time Web
robhawkes
59
6.9k
The Language of Interfaces
destraynor
150
23k
Fireside Chat
paigeccino
19
2.6k
Designing for Performance
lara
601
67k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
11
1.4k
Transcript
MuleSoft Alex teles
Filter Custom É um filtro personalizado
Flow completo
Configuração padrão do Http
XML to JSON
O Custom temos que customizar Criei uma class java e
apontei no Custom
Class Java Recupera o payload como String Mostra o que
foi recuperado Você pode manipular de acordo com sua necessidade isso é uma demonstração de como pode-se usar, podemos criar outros métodos de necessário.
Execultando o projeto
Mostra o que tem dentro da lista que um json
mais dentro de uma string
XML completo <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:json="http://www.mulesoft.org/schema/mule/json" xmlns:http="http://www.mulesoft.org/schema/mule/http"
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/json http://www.mulesoft.org/schema/mule/json/current/mule-json.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd"> <http:listener-config name="HTTP_Listener_Configuration" host="localhost" port="8081" doc:name="HTTP Listener Configuration"/> <flow name="exception_filterFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/filter" doc:name="HTTP"/> <logger message="#[payload]" level="INFO" doc:name="Logger"/> <json:xml-to-json-transformer doc:name="XML to JSON"/> <custom-filter class="exception_filter.CustomFilter" doc:name="Custom"/> </flow> </mule>
Chegamos ao fim obrigado Alex teles