[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBM 2 Management Interfaces
ataylor
do-not-reply at jboss.com
Wed Feb 20 09:49:34 EST 2008
so basically to expose a set of operations we implement the OperationFacet and it will look something like this:
OperationResult invokeOperation(String name, Configuration parameters)
| {
| if(name.equals("createQueue"))
| {
| String queue = parameters.get("queue").getStringValue();
| String binding = parameters.get("binding").getStringValue();
| jmsServerManager.createQueue(queue, binding);
| return new OperationResult("success");
| }
| else if(name......)
| {
|
| }
| }
For standalone though, we probably won't be able to use this. There won't be a jboss instance to run it in!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130765#4130765
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130765
More information about the jboss-dev-forums
mailing list