]
Mark Little closed JBESB-1692.
------------------------------
Resolution: Done
Need a quickstart that demonstrates Filters
-------------------------------------------
Key: JBESB-1692
URL:
https://issues.jboss.org/browse/JBESB-1692
Project: JBoss ESB
Issue Type: Feature Request
Components: Examples
Reporter: Burr Sutter
Assignee: Mark Little
Priority: Minor
From the Programmers Guide
The class org.jboss.soa.esb.filter.InputOutputFilter has two methods:
? public Message onOutput (Message msg, Map<String, Object> params) throws
CourierException which is called as a message flows to the transport. An implementation
may modify the message and return a new version. Additional information may be provided
by the caller in the form of extra parameters.
? public Message onInput (Message msg, Map<String, Object> params) throws
CourierException which is called as a message flows from the transport. An
implementation
may modify the message and return a new version. Additional information may be provided
by the caller in the form of extra parameters.
Filters are defined in the filters section of the jbossesb-properties.xml file using the
property
org.jboss.soa.esb.filter.<number>, where <number> can be any value and is
used to
indicate the order in which multiple filters are to be called (lowest to highest).