It is not used in the scheduled listener case, but for all other listeners it will be.
If you use a POJO as an action then a new instance will be created for every message
passing through the pipeline. This is for historical reasons.
If your action implements the ActionPipelineProcessor or ActionLifecycle interfaces then
there will be a single instance created for each pipeline (incoming transport). The
action must be thread safe as it is possible for multiple threads to access it
concurrently.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188069#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...