Tesla 笔试
从 Exchange 的 body 获取 PipelineCompleted 和 PipelineMessage 用哪个函数???
PipelineCompleted pipelineCompleted = exchange.getIn();
pipelineCompletedexchange.getout();
pipelineCompleted= exchange.getMessage();
/task/src/main/java/com/codility/route/PipelineProcessor.java:24: error: incompatible types: Message cannot be converted to PipelineCompleted
PipelineCompleted pipelineCompleted = exchange.getIn();
^
/task/src/main/java/com/codility/route/PipelineProcessor.java:25: error: incompatible types: Message cannot be converted to PipelineCompleted
pipelineCompleted = exchange.getOut();
^
/task/src/main/java/com/codility/route/PipelineProcessor.java:26: error: incompatible types: Message cannot be converted to PipelineCompleted
pipelineCompleted = exchange.getMessage();
真佛了,搞了好久。
PipelineCompleted pipelineCompleted = exchange.getIn();
pipelineCompletedexchange.getout();
pipelineCompleted= exchange.getMessage();
/task/src/main/java/com/codility/route/PipelineProcessor.java:24: error: incompatible types: Message cannot be converted to PipelineCompleted
PipelineCompleted pipelineCompleted = exchange.getIn();
^
/task/src/main/java/com/codility/route/PipelineProcessor.java:25: error: incompatible types: Message cannot be converted to PipelineCompleted
pipelineCompleted = exchange.getOut();
^
/task/src/main/java/com/codility/route/PipelineProcessor.java:26: error: incompatible types: Message cannot be converted to PipelineCompleted
pipelineCompleted = exchange.getMessage();
真佛了,搞了好久。
全部评论
相关推荐
点赞 评论 收藏
分享
点赞 评论 收藏
分享
点赞 评论 收藏
分享