JBoss Community

Detyped Description of the AS 7 Management Model

new comment by frankie007 View all comments on this document

Hi Brian,

 

Great article, but one thing is not really clear to me. I hope this is the right place to ask.

 

Suppose I want to execute an operation of a child of a resource (for example: I want to add a jms-topic). How should I build the address?

I understand that the address exists of key-value pares, but what is the key of a child resource?

 

I would of course start with

ModelNode address = op.get("address");
address.add("subsystem", "messaging");

but what is next? I've tried a lot of combinations, but nothing worked.

 

Could you please help me with this one?

 

Thanks a lot,

 

Laurenz