|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageProcessor
Defines an interface that allows processing, parsing, filtering and other forms of manipulation of
incoming Message
data. Some examples of MessageProcessor
implementations include XML parsing,
JSON parsing, application level compression/decompression, application level encryption/decryption, logging, and so on.
A MessageProcessor
may be invoked in two ways: processing mode or chaining mode. In processing mode, the
MessageProcessor
is expected to fully process the message. In chaining mode, the MessageProcessor
is expected to wrap the body of the message with a stream wrapper that will process on demand.
When multiple processors are used together, chaining mode is used to minimize the amount of
buffering/copying in between processors.
Method Summary | ||
---|---|---|
void |
process(Message message)
Processes the message and returns the results. |
Method Detail |
---|
void process(Message message) throws MessageProcessorException
message
- The message to be processed.
MessageProcessorException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal