|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MediationHandler
This interface is implemented by all mediation handlers. It is invoked by the runtime when a message arrives at a mediated destination.
Method Summary | |
---|---|
boolean |
handle(javax.xml.rpc.handler.MessageContext context)
This method is called by the runtime when a message is to be mediated by this mediation handler. |
Method Detail |
---|
boolean handle(javax.xml.rpc.handler.MessageContext context) throws MessageContextException
context
- A MessageContext that allows the mediation handler
to access the message to be mediated.
MessageContextException
- if
the runtime should immediately reroute the original version of the message
to the exception destination. Any transactional work performed by the
mediation (e.g. sending additional messages) should be committed by the runtime.
javax.ejb.EJBException
- if any transactional work performed by the
mediation should be rolled back, and the mediation should be retried.
(If this causes the retry count to exceed the max retry
limit, the original version of the message should be rerouted to the
exception destination).
java.lang.RuntimeException
- if the runtime should immediately reroute the original
version of the message message to the exception destination. Any
transactional work performed by the mediation (e.g. sending additional
messages) should be rolled back by the runtime.
java.lang.Error
- if the runtime should immediately reroute the original
version of the message message to the exception destination. Any
transactional work performed by the mediation (e.g. sending additional
messages) should be rolled back by the runtime.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |