There are a couple of Activation properties the user can define, that are just ignored
(for "backward compatilibity")
But it happens that this is not really compatible. I would prefer the user having to
change its properties to something more suitable that works, than our adaptor pretending
it's doing the user asked to be done.
It confused me... and it will certainly confuse the user later.
I would prefer an exception for a non-existent property.
Any thoughts?
Follows the code:
| /**
| * The activation spec
| * These properties are set on the MDB ActivactionProperties
|
| ....
| */
| public class JBMActivationSpec implements ActivationSpec
| {
| ...
|
|
| <b> This is actual code from JBMActivationSpec: </b>
|
| //here for backwards compatibilty
| public void setUseDLQ(boolean b)
| {
|
| }
|
| public void setDLQJNDIName(String name)
| {
|
| }
|
| public void setDLQMaxResent(int maxResent)
| {
|
| }
|
| public void setProviderAdapterJNDI(String jndi)
| {
|
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226647#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...