org.apache.activemq.ra
Class MessageEndpointProxy

java.lang.Object
  extended by org.apache.activemq.ra.MessageEndpointProxy
All Implemented Interfaces:
MessageListener, MessageEndpoint

public class MessageEndpointProxy
extends Object
implements MessageListener, MessageEndpoint

Author:
Michael Gaffney

Constructor Summary
MessageEndpointProxy(MessageEndpoint endpoint)
           
 
Method Summary
 void afterDelivery()
           
 void beforeDelivery(Method method)
           
 void onMessage(Message message)
           
 void release()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageEndpointProxy

public MessageEndpointProxy(MessageEndpoint endpoint)
Method Detail

beforeDelivery

public void beforeDelivery(Method method)
                    throws NoSuchMethodException,
                           ResourceException
Specified by:
beforeDelivery in interface MessageEndpoint
Throws:
NoSuchMethodException
ResourceException

onMessage

public void onMessage(Message message)
Specified by:
onMessage in interface MessageListener

afterDelivery

public void afterDelivery()
                   throws ResourceException
Specified by:
afterDelivery in interface MessageEndpoint
Throws:
ResourceException

release

public void release()
Specified by:
release in interface MessageEndpoint

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.