Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.conduit.stomp
Class ConduitStompTransaction

java.lang.Object
  extended by org.projectodd.stilts.conduit.stomp.ConduitStompTransaction
All Implemented Interfaces:
StompTransaction

public class ConduitStompTransaction
extends Object
implements StompTransaction


Constructor Summary
ConduitStompTransaction(ConduitStompConnection clientAgent, Transaction transaction, String id)
           
 
Method Summary
 void abort()
           
 void ack(Acknowledger acknowledger)
           
 void commit()
           
 String getId()
           
 Transaction getJTATransaction()
           
 ConduitStompConnection getStompConnection()
           
 void nack(Acknowledger acknowledger)
           
 void send(StompMessage message)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConduitStompTransaction

public ConduitStompTransaction(ConduitStompConnection clientAgent,
                               Transaction transaction,
                               String id)
Method Detail

getId

public String getId()

getStompConnection

public ConduitStompConnection getStompConnection()

getJTATransaction

public Transaction getJTATransaction()

commit

public void commit()
            throws StompException
Specified by:
commit in interface StompTransaction
Throws:
StompException

abort

public void abort()
           throws StompException
Specified by:
abort in interface StompTransaction
Throws:
StompException

send

public void send(StompMessage message)
          throws StompException
Specified by:
send in interface StompTransaction
Throws:
StompException

ack

public void ack(Acknowledger acknowledger)
         throws StompException
Throws:
StompException

nack

public void nack(Acknowledger acknowledger)
          throws StompException
Throws:
StompException

toString

public String toString()
Overrides:
toString in class Object

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.