com.infoscape.proteus.mq
Class MQConnection
java.lang.Object
|
+--com.infoscape.proteus.mq.MQConnection
- All Implemented Interfaces:
- Connection, Transactional
- public class MQConnection
- extends java.lang.Object
- implements Connection, Transactional
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MQConnection
public MQConnection(org.jdom.Element elt)
connect
public void connect()
throws java.lang.Exception
- Specified by:
connect in interface Connection
- Throws:
java.lang.Exception
getQueue
protected com.ibm.mq.MQQueue getQueue(java.lang.String queueName,
java.lang.String direction)
throws java.lang.Exception
java.lang.Exception
disconnect
public void disconnect()
throws java.lang.Exception
- Specified by:
disconnect in interface Connection
- Throws:
java.lang.Exception
setSyncPoint
public void setSyncPoint(boolean on)
throws java.lang.Exception
- Specified by:
setSyncPoint in interface Transactional
- Parameters:
on -
- Throws:
java.lang.Exception
commit
public void commit()
throws java.lang.Exception
- Specified by:
commit in interface Transactional
- Throws:
java.lang.Exception
rollback
public void rollback()
throws java.lang.Exception
- Specified by:
rollback in interface Transactional
- Throws:
java.lang.Exception