Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-2001

CLI operation export-journal does not work with custom journal paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER3
    • 7.0.0.ER1
    • JMS
    • None

      To reproduce the issue run server in stadalone mode with following properties (or you can use attached standalone-full-ha.xml)

      <bindings-directory path="/var/tmp/journal/bindings"/>
      <journal-directory path="/var/tmp/journal/journal"/>
      <large-messages-directory path="/var/tmp/journal/largemessages"/>
      <paging-directory path="/var/tmp/journal/paging"/>
      <jms-queue name="testQueue" entries="jms/queue/testQueue java:jboss/exported/jms/queue/testQueue"/>
      

      Send some messages into the testQueue with JMSDeliveryMode set to Persistent.

      TextMessage textMessage = context.createTextMessage(content);
      textMessage.setJMSDeliveryMode(DeliveryMode.PERSISTENT);
      context.createProducer().send(destination, textMessage);
      

      Run

      ./bin/jboss-cli.sh -c ":reload(admin-only=true)"
      ./bin/jboss-cli.sh -c "/subsystem=messaging-activemq/server=default/:export-journal()"
      

      Expectation: Exported file contains sent messages.

      Reality: Exported file contains no message.

            jmesnil1@redhat.com Jeff Mesnil
            eduda_jira Erich Duda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: