//LogicalHandler for DataSource payload
message.setContent(DataSource.class, obj);
} else {
new StaxInInterceptor().handleMessage(message);
DataReader<XMLStreamReader> dataReader = new XMLStreamDataReader();
Class readType = type;
if (!Source.class.isAssignableFrom(type)) {
readType = Source.class;
}
obj = dataReader.read(null, message.getContent(XMLStreamReader.class), readType);
message.setContent(Source.class, obj);
}
}
PostDispatchLogicalHandlerInterceptor postLogical = new PostDispatchLogicalHandlerInterceptor();