12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Complete Index of EJB Properties<br />

Table 31.3<br />

Message Driven Bean properties (continued)<br />

Property Type Description Default<br />

ejb.mdb.max-size Integer This is the maximum<br />

number of connections in<br />

the pool.<br />

ejb.mdb.init-size Integer When the pool is initially<br />

created, this is the number<br />

of connections BES<br />

populates the pool with.<br />

ejb.mdb.wait_timeout Integer The number of seconds to<br />

wait for a free connection<br />

when maxPoolSize<br />

connections are already<br />

opened. When using the<br />

maxPoolSize property and<br />

the pool is at its max and<br />

can't serve any more<br />

connections, the threads<br />

looking for JDBC<br />

connections end up waiting<br />

for the connection(s) to<br />

become available for a long<br />

time if the wait time is<br />

unbounded (set to 0<br />

seconds). You can set the<br />

waitTimeout period to suit<br />

your needs.<br />

ejb.mdb.rebindAttemptCount Integer This is the number of times<br />

the EJB Container attempts<br />

to re-establish a failed JMS<br />

connection or a connection<br />

that was never established<br />

for the MDB.<br />

To make the Container<br />

attempt to rebind infinitely<br />

you need to explicitly<br />

specify<br />

ejb.mdb.rebindAttemptCount=0<br />

.<br />

ejb.mdb.rebindAttemptInterval Integer The time in seconds<br />

between successive retry<br />

attempts (see above<br />

property) for a failed JMS<br />

connection or a connection<br />

that was never established.<br />

ejb.mdb.maxRedeliverAttemptCo<br />

unt<br />

Integer<br />

This is the number of times<br />

a message will be redelivered<br />

by the JMS<br />

service provider should the<br />

MDB fail to consume a<br />

message for any reason.<br />

The message will only be<br />

re-delivered five times. After<br />

five attempts, the message<br />

will be delivered to a dead<br />

queue (if one is configured).<br />

None<br />

None<br />

30<br />

5<br />

60<br />

5<br />

Chapter 31: EJB, JSS, and JTS Properties 343

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!