{
try
{
EbMSMessageContent content = (EbMSMessageContent)message.getPayload();
new EbMSMessageContextValidator(ebMSDAO).validate(content.getContext());
CollaborationProtocolAgreement cpa = ebMSDAO.getCPA(content.getContext().getCpaId());
message.setPayload(EbMSMessageUtils.ebMSMessageContentToEbMSMessage(cpa,content,hostname));
return message;
}
catch (Exception e)