Package org.apache.activemq.ra
Class MessageEndpointProxy
- java.lang.Object
-
- org.apache.activemq.ra.MessageEndpointProxy
-
- All Implemented Interfaces:
MessageListener
,MessageEndpoint
public class MessageEndpointProxy extends Object implements MessageListener, MessageEndpoint
- Author:
- Michael Gaffney
-
-
Constructor Summary
Constructors Constructor Description MessageEndpointProxy(MessageEndpoint endpoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterDelivery()
void
beforeDelivery(Method method)
void
onMessage(Message message)
void
release()
String
toString()
-
-
-
Constructor Detail
-
MessageEndpointProxy
public MessageEndpointProxy(MessageEndpoint endpoint)
-
-
Method Detail
-
beforeDelivery
public void beforeDelivery(Method method) throws NoSuchMethodException, ResourceException
- Specified by:
beforeDelivery
in interfaceMessageEndpoint
- Throws:
NoSuchMethodException
ResourceException
-
onMessage
public void onMessage(Message message)
- Specified by:
onMessage
in interfaceMessageListener
-
afterDelivery
public void afterDelivery() throws ResourceException
- Specified by:
afterDelivery
in interfaceMessageEndpoint
- Throws:
ResourceException
-
release
public void release()
- Specified by:
release
in interfaceMessageEndpoint
-
-