com.createtank.elemenope.transports
Class SynchronousJmsQueueDispatcher

java.lang.Object
  extended by com.createtank.elemenope.DispatcherFailoverImpl
      extended by com.createtank.elemenope.transports.JmsQueueDispatcher
          extended by 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]

Constructor Summary
SynchronousJmsQueueDispatcher()
          Creates a new instance of SynchronousJmsQueueDispatcher
 
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 com.createtank.elemenope.transports.JmsQueueDispatcher
dispatchCallback, getConnectionAttributes, releaseComponents, send, send, send, setComponents, setConfigurationAttributes, setConnectionAttributes
 
Methods inherited from class com.createtank.elemenope.DispatcherFailoverImpl
failover, failover, send, send
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousJmsQueueDispatcher

public SynchronousJmsQueueDispatcher()
Creates a new instance of SynchronousJmsQueueDispatcher

Method Detail

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