[jboss-dev-forums] [JBoss AS 7 Development] - using cli to update indivdual value in LIST

Francisco Dominguez do-not-reply at jboss.com
Thu Aug 8 00:27:22 EDT 2013


Francisco Dominguez [https://community.jboss.org/people/fdominguez] created the discussion

"using cli to update indivdual value in LIST"

To view the discussion, visit: https://community.jboss.org/message/831862#831862

--------------------------------------------------------------
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 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
[https://community.jboss.org/message/831862#831862]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130808/72608f2a/attachment.html 


More information about the jboss-dev-forums mailing list