The --journal parameter should allow you to point the command to a directory where your single .amq file is located.
Keep in mind that the journal is meant to be treated as a whole as information about the same message could potentially be spread across multiple files. Taking a single file from the journal and running the data tools on it may provide you with a false picture of the data. Justin On Tue, Apr 19, 2022 at 2:04 PM Roy Cohen <roy_co...@hotmail.com> wrote: > Thanks Justin > > I’m familiar with the data exp command however not sure there’s a flag to > provide it with a specific .amq file ? > > > artemis data exp [--jdbc-driver-class-name <jdbcClassName>] > [--journal <journal>] [--jdbc-connection-url <jdbcURL>] > [--large-messages <largeMessges>] > [--jdbc-bindings-table-name <jdbcBindings>] [--paging > <paging>] [--f] > [--jdbc-large-message-table-name <jdbcLargeMessages>] > [--broker <brokerConfig>] [--jdbc-page-store-table-name > <jdbcPageStore>] > [--bindings <binding>] [--jdbc] [--verbose] > [--jdbc-message-table-name <jdbcMessages>] > [--jdbc-node-manager-table-name <jdbcNodeManager>] > [--output <output>] > > > > On 19 Apr 2022, at 20:00, Justin Bertram <jbert...@apache.org<mailto: > jbert...@apache.org>> wrote: > > Technically speaking, the journal files are not encrypted. They just use a > binary format that's not human readable. > > There are a handful of "data" tools [1] that might be helpful. The most > "friendly" is probably the "data exp" command which will export the > contents of the journal into an XML format. However, it's worth noting that > the body of the messages themselves will not be human readable. As far as > the broker is concerned the content of the message is just an array of > bytes and it has no reliable way to decode those bytes into a human > readable format. > > Hope that helps. > > > Justin > > [1] > > https://activemq.apache.org/components/artemis/documentation/latest/data-tools.html > > On Tue, Apr 19, 2022 at 1:01 PM Roy Cohen <roy_co...@hotmail.com> wrote: > > Hello > > Is there a way using the Artemis cli to decrypt a single .amq file to a > human readable format ? > > Thanks > Roy > > > >