com.createtank.elemenope.transports
Class SynchronousJmsQueueDispatcher
java.lang.Object
com.createtank.elemenope.DispatcherFailoverImpl
com.createtank.elemenope.transports.JmsQueueDispatcher
com.createtank.elemenope.transports.SynchronousJmsQueueDispatcher
- All Implemented Interfaces:
- Dispatcher, ElemenopeComponent, ElemenopeConnectionEntity, FailoverDispatcher
public class SynchronousJmsQueueDispatcher
- extends JmsQueueDispatcher
Synchronous JMS queue implementation of the elemenope Dispatcher interface
For an example configuration, see synchronousjms.xml
- Author:
- John Joseph Roets [joe@createtank.com]
|
Method Summary |
void |
connect(Connector connector)
Connects to configured queue. |
java.lang.Object |
dispatchCallback(java.lang.String operationType,
java.lang.Object object)
Implementation specific sending functionality called from generic
failover implmentation. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronousJmsQueueDispatcher
public SynchronousJmsQueueDispatcher()
- Creates a new instance of SynchronousJmsQueueDispatcher
dispatchCallback
public java.lang.Object dispatchCallback(java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
- Description copied from interface:
FailoverDispatcher
- Implementation specific sending functionality called from generic
failover implmentation.
- Specified by:
dispatchCallback in interface FailoverDispatcher- Overrides:
dispatchCallback in class JmsQueueDispatcher
- Returns:
-
- Throws:
ElemenopeException
connect
public void connect(Connector connector)
throws ElemenopeConnectionException
- Description copied from class:
JmsQueueDispatcher
- Connects to configured queue.
- Overrides:
connect in class JmsQueueDispatcher
- Throws:
ElemenopeConnectionException