[
https://issues.jboss.org/browse/WFLY-5732?page=com.atlassian.jira.plugin....
]
Jeff Mesnil moved JBEAP-2007 to WFLY-5732:
------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-5732 (was: JBEAP-2007)
Workflow: GIT Pull Request workflow (was: CDW v1)
Component/s: JMS
(was: JMS)
Target Release: (was: 7.0.0.GA)
Affects Version/s: 10.0.0.CR4
(was: 7.0.0.ER1)
CLI operation export-journal does not work with custom journal paths
--------------------------------------------------------------------
Key: WFLY-5732
URL:
https://issues.jboss.org/browse/WFLY-5732
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 10.0.0.CR4
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
To reproduce the issue run server in stadalone mode with following properties (or you can
use attached standalone-full-ha.xml)
{code}
<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"/>
{code}
Send some messages into the testQueue with JMSDeliveryMode set to Persistent.
{code}
TextMessage textMessage = context.createTextMessage(content);
textMessage.setJMSDeliveryMode(DeliveryMode.PERSISTENT);
context.createProducer().send(destination, textMessage);
{code}
Run
{code}
./bin/jboss-cli.sh -c ":reload(admin-only=true)"
./bin/jboss-cli.sh -c
"/subsystem=messaging-activemq/server=default/:export-journal()"
{code}
*Expectation:* Exported file contains sent messages.
*Reality:* Exported file contains no message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)