Unexpected element 'message-selector' in ejb-jar.xml on EAP 6/7
Issue
We are migrating our app from EAP 5 to 6. We have an ejb-jar.xml and jboss.xml which has a message driven bean. This is giving errors when I deploy to EAP 6. It is unable to parse the message-selector element (Message: Unexpected element 'message-selector' encountered"). Please advise how to fix this issue.
Environment
Red Hat Enterprise Application Platform (EAP) 7.x
Red Hat Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.