ConfD User Community

Calling actionpoint from callpoint or callpoint from actionpoint

I have existing actionpoints and action handlers for those action points. I wrote one callpoint and registered it. This callpoint is to get an optional argument from user. Is it possible to call existing actionpoint from callpoint or vice versa? My approach is to plugin new callpoint between cli and actionpoints. Please suggest.

not sure if i understood exactly your scenario, but, confd-lib can invoke actions using maapi_request_action().

When you are somewhere inside action callback code, you can invoke other actions using above procedure.

Of course you have to make sure you do not end in deadlock situation ~ both action callbacks must not be serviced by the same application thread…

Is there any Java equivalent API to maapi_request_action()? Thanks.

see API Javadoc… Maapi.requestAction()

1 Like