org.codehaus.activemq.jca
Class LocalTransactionEndpoint

java.lang.Object
  extended byorg.codehaus.activemq.jca.LocalTransactionEndpoint
All Implemented Interfaces:
MessageEndpoint, MessageListener

public class LocalTransactionEndpoint
extends Object
implements MessageEndpoint, MessageListener

Performs a local transaction while processing the message

Version:
$Revision: 1.1 $

Constructor Summary
LocalTransactionEndpoint(MessageListener messageListener, LocalTransaction localTransaction)
           
 
Method Summary
 void afterDelivery()
           
 void beforeDelivery(Method method)
           
 void onMessage(Message message)
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTransactionEndpoint

public LocalTransactionEndpoint(MessageListener messageListener,
                                LocalTransaction localTransaction)
Method Detail

beforeDelivery

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

afterDelivery

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

release

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

onMessage

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


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.