How do i configure ActiveMQ queues through CLI ?
Issue
- Why configuring activemq in JBoss 6.1.1 through CLI causes error.
- How do i configure ActiveMQ queues through CLI ? Secondly, How do i add a new queue. Take the following as an example.
<admin-objects>
<admin-object class-name="org.apache.activemq.command.ActiveMQQueue" jndi-name="java:/queue/MyTestQJBOSS" use-java-context="true" pool-name="MyTestPool">
<config-property name="PhysicalName">
MyTestQ
</config-property>
</admin-object>
</admin-objects>
- We tried to run the CLI as following but ran into an error:
/profile=full/subsystem=resource-adapters/resource-adapter=activemq-ra.rar/admin-objects/admin-object:add(class-name=\"org.apache.activemq.command.ActiveMQQueue\",jndi-name=\"java:jboss/queue/MyTestQJBOSS",use-java-context=true,pool-name="MyTestPool"
/profile=full/subsystem=resource-adapters/resource-adapter=activemq-ra.rar/admin-objects/admin-object/config-properties=PhysicalName:add(value="MyTestQ")"
- The generated error is as following:
Node path format is wrong around 'admin-objects' (index=88).
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.1.x
- 6.2.x
- 6.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.