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();
真佛了,搞了好久。
全部评论
相关推荐
07-10 17:26
南京工业职业技术大学 机械设计/制造 
点赞 评论 收藏
分享
07-03 14:11
广西大学 渠道销售 点赞 评论 收藏
分享