JBoss Community

using cli to update indivdual value in LIST

created by Francisco Dominguez in JBoss AS 7 Development - View the full discussion

I have a custom-handler configured in Jboss 7.1.1 standalone.xml and an attribute of a custom-handler are the properties. See:

 

https://docs.jboss.org/author/display/AS71/Logging+Configuration#LoggingConfiguration-customhandler

 

When i deploy our application i would like to update ONE of the properties and not reset all the previously set properties.

 

I cannot figure out if jboss-cli supports this?

 

This is how i used the cli to set initialize the property:

 

/subsystem=logging/custom-handler=SnsLogHandler:write-attribute(name=properties, value=["version","1.1", "topicName","Error-Prod"])

 

I would like to update version each time i deploy and leave the topicName property with the same name and value that it previously had.

 

Any help is greatly appreciated.

thanks

francisco

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community