You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by CheFu <ch...@gmail.com> on 2009/07/02 11:33:19 UTC

openejb.xsd: what about message container type

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.


Re: openejb.xsd: what about message container type

Posted by Jean-Louis MONTEIRO <je...@atosorigin.com>.
Holla,

AFAIK, MESSAGE is still valid in openejb 2.1.2-SNAPSHOT
The xsd has not been modified for a while. I will as David if openejb.xsd
should contain MESSAGE type.

Thanks for pointing that.

Jean-Louis




CheFu wrote:
> 
> 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-tp24303829p24304129.html
Sent from the OpenEJB User mailing list archive at Nabble.com.