|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.DispatcherFailoverImpl
com.createtank.elemenope.transports.JmsQueueDispatcher
public class JmsQueueDispatcher
JMS queue implementation of the elemenope Dispatcher interface
For an example configuration, see jms.xml
| Constructor Summary | |
|---|---|
JmsQueueDispatcher()
Creates a new instance of JmsQueueDispatcher |
|
| 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. |
java.lang.Object |
dispatchCallback(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
Implementation specific sending functionality called from generic failover implmentation. |
java.util.Map |
getConnectionAttributes()
gets connectivity attributes |
void |
releaseComponents()
Should be called upon shutdown, in order for elemenope component classes clean up after themselves. |
ElemenopeDispatchResponse |
send(OperationType object)
Sends TrnasactionType Object through configured Connection entity. |
ElemenopeDispatchResponse |
send(java.lang.String operationType,
java.lang.Object object)
Sends generic Object through configured Connection entity. |
ElemenopeDispatchResponse |
send(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
Sends generic Object through configured Connection entity. |
void |
setComponents(ElemenopeComponents components)
Passes all configured components to implementing Object. |
void |
setConfigurationAttributes(java.util.Map atts)
sets configuration attributes |
void |
setConnectionAttributes(java.util.Map atts)
sets connectivity attributes |
| 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 |
|---|
public JmsQueueDispatcher()
| Method Detail |
|---|
public void setComponents(ElemenopeComponents components)
ElemenopeComponentShould ususally be called at the end of the initialization cycle, when all components have been instantiated.
public void setConnectionAttributes(java.util.Map atts)
ElemenopeConnectionEntity
atts - Map of connectivity attributes
public void connect(Connector connector)
throws ElemenopeConnectionException
connector -
ElemenopeConnectionException
public ElemenopeDispatchResponse send(OperationType object)
throws ElemenopeException
Dispatcher
send in interface Dispatchersend in class DispatcherFailoverImplElemenopeException
public ElemenopeDispatchResponse send(java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
Dispatcher
send in interface Dispatchersend in class DispatcherFailoverImploperationType - configured name of operation to execute.object - Object to send.
ElemenopeException
public ElemenopeDispatchResponse send(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
throws ElemenopeException
Dispatcher
send in interface Dispatchersend in class DispatcherFailoverImploperationType - configured name of operation to execute.object - Object to send.atts - attributes to send along with message if applicable.
ElemenopeException
public java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
ElemenopeException
public java.lang.Object dispatchCallback(java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
FailoverDispatcher
ElemenopeException
public java.lang.Object dispatchCallback(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
throws ElemenopeException
FailoverDispatcher
operationType - Corresponds to JMSType JMS Headerobject - Payload of operationatts - attributes included with payload to direct bpm or other transport specific functionality.
Within this implementation, the following attributes are supported:
ElemenopeExceptionFailoverDispatcher.dispatchCallback(java.lang.String, java.lang.Object)public void releaseComponents()
ElemenopeComponent
public void setConfigurationAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeComponent
atts - Map of connectivity attributes
ElemenopeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||