Download JBoss Messaging User Guide - for use with JBoss

Transcript
Message Driven Beans
Name
Type
Remarks
Mandatory?
Default
value
maxMessages
int
Read this number of messages before
delivering messages to the mdb. Each
message is delivered individually on the
same thread in an attempt to avoid context
excessive context switching
No
1
minSession
int
The minimum number of jms sessions
that are available to concurrently deliver
messages to this mdb
No
1
maxSession
int
The maximum number of jms sessions
that are available to concurrently deliver
messages to this mdb
No
15
reconnectInterval
long
The length of time in seconds between
No
attempts to (re-)connect to the jms provider
10
seconds
keepAlive
long
The length of time in milliseconds that
sessions over the minimum are kept alive
No
60
seconds
sessionTransacted boolean
Whether the sessions are transacted
No
true
useDLQ
boolean
Whether to use a DLQ handler
No
true
dLQJNDIName
java.lang.String
The JNDI name of the DLQ
No
queue/
DLQ
dLQHandler
java.lang.String
The
No
org.jboss.resource.adapter.jms.inflow.DLQHandler
implementation class name
org.jboss.resourc
\
.jms.inflow.dlq.Ge
dLQUser
java.lang.String
The user id used to make the dlq
connection to the jms server
No
none
dLQPassword
java.lang.String
The password of the dLQUser
No
none
dLQClientID
java.lang.String
The client id of the dlq connection
No
none
dLQMaxResent
int
The maximum number of times a message
is redelivered before it is sent to the DLQ
No
5
redeliverUnspecifiedboolean
Whether to attempt to redeliver a message
in an unspecified transaction context
No
true
transactionTimeout int
Time in seconds for the transaction timeout No
Default
is the
timeout
set for
the
resource
manager
DeliveryActive
Whether the MDB should make the
subscription at initial deployment or
wait for start() or stopDelivery() on the
corresponding MBean. You can set this to
false if you want to prevent messages from
being delivered to the MDB (which is still
starting) during server startup
true
boolean
No
43