|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.transports.JmsQueueBroker
public class JmsQueueBroker
JMS queue implementation of the elemenope Broker interface
For an example configuration, see jms.xml
| Constructor Summary | |
|---|---|
JmsQueueBroker()
Creates a new instance of JmsQueueBroker |
|
| Method Summary | |
|---|---|
java.util.Map |
getConnectionAttributes()
gets connectivity attributes |
void |
onMessage(javax.jms.Message message)
|
java.lang.Object |
receive(OperationType object)
Receives an Object into the elemenope framework. |
java.lang.Object |
receive(java.lang.String operationType,
java.lang.Object object)
Receives an Object into the elemenope framework. |
java.lang.Object |
receive(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
Receives an Object into the elemenope framework. |
void |
releaseComponents()
Should be called upon shutdown, in order for elemenope component classes clean up after themselves. |
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 java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmsQueueBroker()
| Method Detail |
|---|
public void setComponents(ElemenopeComponents components)
ElemenopeComponentShould ususally be called at the end of the initialization cycle, when all components have been instantiated.
setComponents in interface ElemenopeComponentpublic void setConnectionAttributes(java.util.Map atts)
ElemenopeConnectionEntity
setConnectionAttributes in interface ElemenopeConnectionEntityatts - Map of connectivity attributespublic void onMessage(javax.jms.Message message)
onMessage in interface javax.jms.MessageListener
public java.lang.Object receive(OperationType object)
throws ElemenopeException
Broker
receive in interface BrokerElemenopeException
public java.lang.Object receive(java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
BrokerMust provide operation type explicitly.
receive in interface BrokeroperationType - Configured name of operation type to callobject - Object to pass to Operation class
ElemenopeException
public java.lang.Object receive(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
throws ElemenopeException
BrokerMust provide operation type explicitly.
receive in interface BrokeroperationType - Configured name of operation type to callobject - Object to pass to Operation classatts - attributes for this message (used for asynch bpm attributes)
ElemenopeException
public java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
getConnectionAttributes in interface ElemenopeConnectionEntityElemenopeExceptionpublic void releaseComponents()
ElemenopeComponent
releaseComponents in interface ElemenopeComponent
public void setConfigurationAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeComponent
setConfigurationAttributes in interface ElemenopeComponentatts - Map of connectivity attributes
ElemenopeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||