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
58
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
86
Chamando um flow de dentro do Transform Message
alexteles10
0
68
MuleSoft Juntando duas ou mais Listas ordenadas
alexteles10
0
63
MuleSoft Como mockar resultado com transform mensager
alexteles10
0
35
MuleSoft mock com set payload
alexteles10
0
40
Como excluir o conector do facebook Do anyponit
alexteles10
0
64
Baixando conectores que não são nativos
alexteles10
0
56
Editor do Anypoint
alexteles10
0
39
MuleSoft Como fazer um when dentro de um when
alexteles10
0
40
Other Decks in Education
See All in Education
寺沢拓敬 2024. 09. 「言語政策研究と教育政策研究の狭間で英語教育政策を考える」
terasawat
0
220
HCI and Interaction Design - Lecture 2 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
870
ISMS審査準備ブック_サンプル【LRM 情報セキュリティお役立ち資料】
lrm
0
510
Canva
matleenalaakso
0
470
H5P-työkalut
matleenalaakso
4
36k
LinkedIn
matleenalaakso
0
3.4k
勉強したらどうなるの?
mineo_matsuya
10
6.8k
1106
cbtlibrary
0
430
Web Search and SEO - Lecture 10 - Web Technologies (1019888BNR)
signer
PRO
2
2.5k
Образцы вооружения и техники ВС РФ
obzr
0
110
Human Perception and Cognition - Lecture 4 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
750
Utiliser Linkedin pour améliorer son personal branding
martine
0
100
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
The Pragmatic Product Professional
lauravandoore
32
6.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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