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();
真佛了,搞了好久。
全部评论
相关推荐
点赞 评论 收藏
分享
09-22 22:22
中山大学 Java 点赞 评论 收藏
分享
09-01 11:31
门头沟学院 Java
buul:七牛云的吧,感觉想法是好的,但是大家没那么多时间弄他这个啊。。。不知道的还以为他是顶尖大厂呢还搞比赛抢hc,只能说应试者的痛苦考察方是无法理解的,他们只会想一出是一出 点赞 评论 收藏
分享

联想公司福利 1496人发布