public class ListenerEndpoint extends java.lang.Object implements MessageEndpoint, MessageListener
Constructor and Description |
---|
ListenerEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterDelivery()
Called by a resource adapter after a message is delivered.
|
void |
beforeDelivery(java.lang.reflect.Method method)
Called by a resource adapter before a message is delivered.
|
void |
onMessage(Message message)
Runs the endpoint.
|
void |
release()
Called when the resource adapter doesn't need a proxy endpoint.
|
void |
setListener(MessageListener listener)
Sets the listener.
|
public void setListener(MessageListener listener)
public void beforeDelivery(java.lang.reflect.Method method)
beforeDelivery
in interface MessageEndpoint
public void afterDelivery()
afterDelivery
in interface MessageEndpoint
public void onMessage(Message message)
onMessage
in interface MessageListener
public void release()
release
in interface MessageEndpoint