org.projectodd.stilts.conduit.stomp
Class ConduitStompTransaction
java.lang.Object
org.projectodd.stilts.conduit.stomp.ConduitStompTransaction
- All Implemented Interfaces:
- StompTransaction
public class ConduitStompTransaction
- extends Object
- implements StompTransaction
ConduitStompTransaction
public ConduitStompTransaction(ConduitStompConnection clientAgent,
Transaction transaction,
String id)
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
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.