1 Reply Latest reply on Oct 31, 2016 11:02 AM by Justin Bertram

    Create divert entry via CLI

    daled Newbie

      Is there a way to create a JMS divert entry via the CLI?

       

      I am able to update an existing divert entry using the CLI, but I am having trouble creating a new one using the CLI.

       

      I'm looking to create something like this:

       

      <server xmlns="urn:jboss:domain:4.0">

          <profile>

              <subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0">

                  <server name="default">

                      <divert name="my-divert"

                          routing-name="my-divert"

                          address="jms.queue.queue.from"

                          forwarding-address="jms.queue.queue.to"

                          exclusive="false"/>