public interface MessageReceiver
Modifier and Type | Field and Description |
---|---|
static int |
RCVR_CLOSED |
static int |
RCVR_DISABLED |
static int |
RCVR_PAUSE |
static int |
RCVR_READY |
static int |
RCVR_RETRYING |
static int |
RCVR_RUNNING |
static int |
RCVR_STANDBY |
static int |
RCVR_STOPPED |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes all opened resources
|
int |
getCapacity()
returns the capacity of the OutLink
|
java.lang.String |
getLinkName()
returns the name of the OutLink
|
java.lang.String |
getName()
returns the name of the receiver
|
java.lang.String |
getOperation()
returns the string of the operation
|
int[] |
getPartition()
returns the partiton array of the input XQueue for the reciever
|
int |
getStatus()
returns the status of the receiver
|
int |
getXAMode()
returns the transaction mode of the reciever
|
void |
receive(XQueue out,
int sleepTime)
puts all the received JMS messages to the XQueue as the output.
|
void |
setStatus(int status)
sets the status of the receiver
|
static final int RCVR_READY
static final int RCVR_RUNNING
static final int RCVR_RETRYING
static final int RCVR_PAUSE
static final int RCVR_STANDBY
static final int RCVR_DISABLED
static final int RCVR_STOPPED
static final int RCVR_CLOSED
void receive(XQueue out, int sleepTime)
java.lang.String getOperation()
java.lang.String getName()
java.lang.String getLinkName()
int getStatus()
int getCapacity()
int getXAMode()
int[] getPartition()
void setStatus(int status)
void close()