tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CheFu <chema.fuen...@gmail.com>
Subject openejb.xsd: what about message container type
Date Thu, 02 Jul 2009 09:33:19 GMT

Im trying to use openejb.xsd shiped with openejb 3.1.2 snapshot. But when i
try to replace my old:

<Container id="GRM MDB Container" type="MESSAGE">

  #  The resource adapter delivers messages to the container

  ResourceAdapter GRM_JMS_RA

  # Specifies the message listener interface handled by this container

  MessageListenerInterface javax.jms.MessageListener

  # Specifies the activation spec class

  ActivationSpecClass org.apache.activemq.ra.ActiveMQActivationSpec

  # Specifies the maximum number of bean instances that are
  # allowed to exist for each MDB deployment.

  InstanceLimit 10

</Container>

I found that in ContainerTypes there isnt an option for Message type:

 <!-- Container Types -->
  <xsd:simpleType name="ContainerTypes">
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="BMP_ENTITY|CMP_ENTITY|STATEFUL|STATELESS"/>
    </xsd:restriction>
  </xsd:simpleType>

Is this correct ? How can i define a MDB container using this xsd ?

Thanks in advance,

Chema Fuentes.


-- 
View this message in context: http://www.nabble.com/openejb.xsd%3A-what-about-message-container-type-tp24303829p24303829.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message