|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.ReceiverThreadBase
net.sf.xbus.technical.mq.MQReceiverThread
public class MQReceiverThread
TODO Kommentierung
| Field Summary |
|---|
| Fields inherited from class net.sf.xbus.technical.ReceiverThreadBase |
|---|
DEFAULT_ERROR_TIMEOUT, DEFAULT_TIMEOUT |
| Constructor Summary | |
|---|---|
MQReceiverThread(XBUSSystem source)
Stores the interface name |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getAddress()
Returns the name of the message queue. |
protected java.lang.String |
getReceiverClassName()
Returns the name of the receiver class, used for example to determine values in the configuration. |
java.lang.String |
getType()
Returns Constants.TYPE_TEXT |
protected void |
initializeThread()
Opens a MQConnection. |
protected java.lang.Object |
receive()
Receives one message. |
protected void |
registerResources(TAManager taManager)
Registers the MQConnectionin the
TAManager. |
| Methods inherited from class net.sf.xbus.technical.ReceiverThreadBase |
|---|
checkProceed, getErrorTimeout, getSource, getTimeout, incrementErrorCounter, initializeErrorCounter, interruptThread, run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MQReceiverThread(XBUSSystem source)
source - name of the interface definition| Method Detail |
|---|
protected void initializeThread()
throws XException
MQConnection.
initializeThread in class ReceiverThreadBaseXException - if something goes wrong
protected void registerResources(TAManager taManager)
throws XException
MQConnectionin the
TAManager.
registerResources in class ReceiverThreadBasetaManager - the transaction manager in which the resources shall be
registered
XException - if something goes wrong
protected java.lang.Object receive()
throws XException
ReceiverThreadBase
receive in class ReceiverThreadBasenull when no message has
been available
XException - if something goes wrongReceiverThreadBase.receive()public java.lang.String getType()
Constants.TYPE_TEXT
Constants.TYPE_TEXTprotected java.lang.String getReceiverClassName()
ReceiverThreadBase
getReceiverClassName in class ReceiverThreadBaseReceiverThreadBase.getReceiverClassName()protected java.lang.String getAddress()
getAddress in class ReceiverThreadBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||