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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...