Hi,
How to define maxsession of MDX in XML, I have done as below, but i'm getting the exception.
xml filename: Report-aop.xml
<?xml version="1.0" encoding="UTF-8"?>
<aop xmlns="urn:jboss:aop-beans:1.0">
<domain name="Strictly Pooled Stateless Bean" extends="Message Driven Bean" inheritBindings="true">
<annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
@org.jboss.ejb3.annotation.DefaultActivationSpecs (value={@javax.ejb.ActivationConfigPropertypropertyName="destinationType", propertyValue="javax.jms.Queue"),@javax.ejb.ActivationConfigProperty(propertyName="destination", propertyValue="queue/ReportQueue"),@javax.ejb.ActivationConfigProperty(propertyName="maxSession", propertyValue="5")})
</annotation>
</domain>
</aop>
Exception:
Kindly view the attachment
Thanks in advance.
MDB's are part of the AS not HornetQ, i would try in their forum