rzo1 commented on code in PR #900:
URL: https://github.com/apache/tomee/pull/900#discussion_r915541833
##########
container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiEjbBean.java:
##########
@@ -250,7 +250,7 @@ protected T createEjb(final CreationalContext<T>
creationalContext) {
} else if (remote != null) {
instance = (T) remote.create();
} else { // shouldn't be called for an MDB
- throw new IllegalStateException("no interface to proxy for ejb
" + beanContext.getEjbName() + ", is this is a MDB maybe you shouldn't use a
scope?");
+ throw new IllegalStateException("no interface to proxy for ejb
" + beanContext.getEjbName() + ", is this is a @MessageDriven bean, maybe you
shouldn't use a scope?");
Review Comment:
Thanks @bdemers - you are right. MDB means `@MessageDriven` bean here. I
think that the proposed change is valid and clarifies the error message.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]