java.lang.IllegalStateException: WFLYEJB0173 thrown from MDB in EAP 7.1
Issue
- ERROR [org.jboss.as.ejb3.invocation] (Thread-12 (ActiveMQ-client-global-threads)) WFLYEJB0034: EJB Invocation failed on component MyMDB for method public void aaa.bbb.ccc.ddd.MyMDB.onMessage(javax.jms.Message): javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEJB0173: EJB 3.1 FR 13.6.1 Only beans with container-managed transaction demarcation can use getRollbackOnly.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.