[jboss-user] [EJB 3.0] - Re: MDB pool configuration & EJB3
judge2005
do-not-reply at jboss.com
Tue Apr 17 23:14:04 EDT 2007
And in case anyone is wondering. This is how you do the same thing in jboss.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <jboss
| xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
| http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
| version="3.0">
| <security-domain>java:/jaas/example-domain</security-domain>
| <enterprise-beans>
| <message-driven>
| <ejb-name>sample.MDB</ejb-name>
| <pool-config>
| <pool-class>org.jboss.ejb3.StrictMaxPool</pool-class>
| <pool-max-size>1</pool-max-size>
| <pool-timeout>5000</pool-timeout>
| </pool-config>
| </message-driven>
| </enterprise-beans>
| </jboss>
|
BTW thanks for this thread. You saved my bacon. And thanks to Eclipse for having an XML editor that understands xsd. Oh and thanks to JIRA for showing that the xsd existed!
Finally I'd like to thank my producer... j/k - its late.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038208#4038208
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038208
More information about the jboss-user
mailing list