Test_ActiveMQ_XML

Provides unit tests and examples for the ActiveMQ_XML lens.

Summary
Test_ActiveMQ_XMLProvides unit tests and examples for the ActiveMQ_XML lens.
Augeas Variables
conf
new_conf
Augeas Tests
ActiveMQ_XML.lnsGet test against tree structure
ActiveMQ_XML.lnsPut test changing transport connector to localhost

Augeas Variables

conf

let conf = "<beans> <broker xmlns=\"http://activemq.apache.org/schema/core\" brokerName=\"localhost\" dataDirectory=\"${activemq.data}\"> <transportConnectors> <transportConnector name=\"openwire\" uri=\"tcp://0.0.0.0:61616\"/> </transportConnectors> </broker> </beans> "

new_conf

let new_conf = "<beans> <broker xmlns=\"http://activemq.apache.org/schema/core\" brokerName=\"localhost\" dataDirectory=\"${activemq.data}\"> <transportConnectors> <transportConnector name=\"openwire\" uri=\"tcp://127.0.0.1:61616\"/> </transportConnectors> </broker> </beans> "

Augeas Tests

ActiveMQ_XML.lns

Get test against tree structure

ActiveMQ_XML.lns

Put test changing transport connector to localhost

ActiveMQ / FuseMQ XML module for Augeas
let conf = "<beans> <broker xmlns=\"http://activemq.apache.org/schema/core\" brokerName=\"localhost\" dataDirectory=\"${activemq.data}\"> <transportConnectors> <transportConnector name=\"openwire\" uri=\"tcp://0.0.0.0:61616\"/> </transportConnectors> </broker> </beans> "
let new_conf = "<beans> <broker xmlns=\"http://activemq.apache.org/schema/core\" brokerName=\"localhost\" dataDirectory=\"${activemq.data}\"> <transportConnectors> <transportConnector name=\"openwire\" uri=\"tcp://127.0.0.1:61616\"/> </transportConnectors> </broker> </beans> "
Close