I am developing Services using JBoss 5.1 with JBossESB 4.10.
I am wondering about the moment of message serialization when processing the action pipeline. I recognized that the message is serialized after executing the process methods in all actions but before processSuccess or processException methods are called.
During the process method execution I enhance my message with additional content and I wanted to clean up before serialization, and thoght to be able to do this in processSuccess and espacially in processException methods. Is there another way how all my actions in the pipeline can access the message again after finishing the process pipeline but before serialization?
thanks for your answer.
I had a short look at ActionProcessingPipeline.java and even at ActionProcessorMethodInfo.java but i could not find the part, where the message is serialized. Where is this part of the code? Is there any special reason why serializing the message is done before invoking processSuccess or processException Methods?
|Retrieving data ...|