-
1. Re: Container configuration for my MDB doesn't work as expec
adrian.brock Apr 4, 2003 9:58 AM (in response to frito)3.2 was changed to allow multple invokers
per ejb: e.g. you can access via RMI or RMI/IIOP
or RMI/HTTP, etc.
allow this doesn't make much sense for mdbs :-)
The configuration is now done using
invoker proxy bindings.
You should define your own invoker proxy binding
<invoker-proxy-bindings>
<invoker-proxy-binding>
my-message-driven-bean
<invoker-mbean>default</invoker-mbean>
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
<proxy-factory-config>
DefaultJMSProvider
StdJMSPool
15
1
True
10
queue/DLQ
10
0
</proxy-factory-config>
</invoker-proxy-binding>
</invoker-proxy-bindings>
Then reference it on the bean
<enterprise-beans>
<message-driven>
<ejb-name>Whatever</ejb-name>
<invoker-bindings>
<invoker-proxy-binding-name>my-message-driven-bean</invoker-proxy-binding-name>
</invoker-bindings>
</message-driven>
</enterprise-beans>
Of course, you could just use the name
"message-driven-bean" which would replace
the definition in standardjboss.xml for
this jboss.xml
Regards,
Adrian -
2. Re: Container configuration for my MDB doesn't work as expec
frito Apr 7, 2003 5:03 AM (in response to frito)Hi Adrian,
thank you very much for you answer. Now I realized that the dtd of RC4 is finally reflecting these changes, which the dtd of RC3 didn't.
Greetings,
Frito -
3. Re: Container configuration for my MDB doesn't work as expec
frito Apr 7, 2003 6:13 AM (in response to frito)Pretty easy in theory but not in code of practice *G*:
the dtd doesn't allow all the tags under proxy-factory-config (JMSProviderAdapterJNDI, ServerSessionPoolFactoryJNDI, ... , MDBConfig).
Is the dtd up to date? Can't I deploy a complete invoker-proxy-binding for my MDB?
Greetings,
Frito -
4. Re: Container configuration for my MDB doesn't work as expec
adrian.brock Apr 14, 2003 6:27 AM (in response to frito)You are using the following dtd?
<!DOCTYPE jboss PUBLIC
"-//JBoss//DTD JBOSS 3.2//EN"
"http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
Regards,
Adrian -
5. Re: Container configuration for my MDB doesn't work as expec
frito Apr 15, 2003 3:42 AM (in response to frito)Yes, I do.
I checked out JBoss 3.2.0 yesterday and there were changes on this dtd since RC4 or compared to teh binary release at sourceforge (but I didn't check the differences).
Looking at my most acutal jboss_3_2.dtd shows me this line:
<!ELEMENT proxy-factory-config (client-interceptors)>. No JMSProviderAdapterJNDI and the other elements allowed here.
Greetings,
Frito -
6. Re: Container configuration for my MDB doesn't work as expec
adrian.brock Apr 16, 2003 4:20 AM (in response to frito)I've updated the dtd to include the mdb
config and iiop was missing as well.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jboss/src/resources/org/jboss/metadata/jboss_3_2.dtd?annotate=1.1.2.7
To use it, you should replace it in jboss.jar
Regards,
Adrian -
7. Re: Container configuration for my MDB doesn't work as expec
frito Apr 16, 2003 6:10 AM (in response to frito)Thanks a lot! I will do some tests on it soon.
Greetings,
Frito -
8. Re: Container configuration for my MDB doesn't work as expec
seven Apr 18, 2003 6:47 AM (in response to frito)Can <invoker-proxy-binding> be extended? (Like <container-configuration>)
Horia