2 Replies Latest reply on Jan 11, 2012 2:45 AM by jaikiran pai

    Messaging & persistence

    guinotphil Apprentice

      Hello,

       

      Sorry for this naive question, but I'm quite new with JMS.

       

      I've defined in JBoss AS 7 a few JMS queues. Now, I'd like them to be persisted. I've seen there is a persistence-enabled element. But where are the data persisted ? and how do I define the datasource used for the persistence ?

       

      In AS 4, a MBean dependency was used

        <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"

                 name="jboss.mq:service=PersistenceManager">

          <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>

       

       

      But I can't figure out how to do this in the as 7 confirguration...

       

      Thank you very much for any help you can provide me