|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IncomingMessageCallback
The callback interface that is used to notify the user code that the new incoming message has been received.
Method Summary | |
---|---|
void |
call(IncomingMessage message)
Callback function that is automatically called by the agent whenever a new message arrives. |
Method Detail |
---|
void call(IncomingMessage message) throws java.lang.Exception
Note: Implementations of this interface should be thread-safe if they are used with the agent that has more than one dispatcher thread.
Note: All exceptions thrown from the user code that overrides this function are translated into rejection notifications and sent back to the source site.
message
- the message descriptor
java.lang.Exception
- any exception, which will be interpreted as failure
to process the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |