4 Replies Latest reply on Aug 27, 2002 5:02 AM by Wolf-Dieter Fink

    when are queue messages scavenged?

    sleeper Newbie

      hello,

      i have a MDB consumes messages from a queue. there are
      various clients post messages to the queue. everything
      seems to be working fine. the MDB processes the messages
      orderly. however, i noticed the queue persistent file
      (in the jboss/db/jbossmq folder) keeps growing. with
      the amount of the traffic it quickly grows to 10's of
      MBytes. is this normal? or did i deploy the MDB wrong?

      thanks in advance for any help.

      -- jerry

      i'm using 244 and this is my ejb-jar.xml

      <message-driven>
      <ejb-name>xxxxx</ejb-name>
      <ejb-class>xxxxx</ejb-class>
      <message-selector></message-selector>
      <transaction-type>Container</transaction-type>

      <message-driven-destination>
      <destination-type>javax.jms.Queue</destination-type>
      </message-driven-destination>
      </message-driven>

      <assembly-descriptor>
      <container-transaction>

      <ejb-name>xxxxx</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>NotSupported</trans-attribute>
      </container-transaction>
      </assembly-descriptor>

      and this is my jboss.xml

      <enterprise-beans>
      <message-driven>
      <ejb-name>xxxxx</ejb-name>
      <jndi-name>xxxxx</jndi-name>
      <configuration-name>xxxxx</configuration-name>
      <destination-jndi-name>x</destination-jndi-name>
      </message-driven>
      </enterprise-beans>