Red Hat Training
A Red Hat training course is available for JBoss Enterprise SOA Platform
Chapter 14. Developing Your Own Actions
14.1. Developing Custom Actions
You can develop your own actions in any of the following ways, each of which has its own advantages and disadvantages:
- Lifecycle actions, implementing
org.jboss.soa.esb.actions.ActionLifecycle
ororg.jboss.soa.esb.actions.ActionPipelineProcessor
- Java bean actions, implementing
org.jboss.soa.esb.actions.BeanConfiguredAction
- Annotated actions
- Legacy actions
In order to understand the differences between each implementation it is necessary to understand:
- How the actions are configured
- When the actions are instantiated and the implications on thread safety
- Whether they have visibility of life-cycle events
- Whether the action methods are invoked directly or via reflection