3 Replies Latest reply on Oct 7, 2016 1:27 AM by Miroslav Novak

    Configuring JMS destinations via wildfly-maven-plugin beforeDeployment/commands

    Xavier Dury Newbie

      I'm trying to configure JMS destinations for a wildfly server that is being launched via the wildfly-maven-plugin (wildfly:run) like this:


             <command>jms-queue add --queue-address=demoQueue --entries=java:/jms/queue/demoQueue</command>

      But I get the following error:


      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha11:run (default-cli) on project my-project: 
      The server failed to start: Command 'jms-queue add --queue-address=demoQueue --entries=java:/jms/queue/demoQueue' is invalid.
      The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable). -> [Help 1]


      This is strange because data-source add works fine and I can see that the messaging subsystem (full profile) is started (I'm seeing logs about the DLQ).


      Am I missing something in my configuration?