public interface MessageEndpoint
Modifier and Type | Method and Description |
---|---|
void |
afterDelivery()
Invoked after delivery
|
void |
beforeDelivery(Method method)
Invoked before delivery
|
void |
release()
Release the endpoint
|
void beforeDelivery(Method method) throws NoSuchMethodException, ResourceException
method
- the method on the endpointNoSuchMethodException
- when there is no such methodResourceException
- for a generic errorApplicationServerInternalException
- for an error in the
application serverIllegalStateException
- when not in the correct state, eg. before
and after delivery are not pairedUnavailableException
- when the endpoint is unavailablevoid afterDelivery() throws ResourceException
ResourceException
- for a generic errorApplicationServerInternalException
- for an error in the
application serverIllegalStateException
- when not in the correct state, eg. before
and after delivery are not pairedUnavailableException
- when the endpoint is unavailablevoid release()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.