小编Mik*_*ike的帖子

Gitlab:抱歉,我们不能自动挑选这个合并请求

我在 Gitlab 中遇到以下错误:

Sorry, we cannot cherry-pick this merge request automatically. This merge request may already have been cherry picked, or a more recent commit may have updated some of its content.
Run Code Online (Sandbox Code Playgroud)

我有分支 X,我必须从中挑选提交到分支 Y。也许我已经完成了挑选,这是在失败的挑选之后。我有大约 10 个樱桃选择要做。

我该怎么办?

我在想是否我创建新的分支 Z(在 Y 之前)并尝试以正确的顺序添加樱桃精选。也许这将是解决方案?你认为呢?

gitlab git-cherry-pick

10
推荐指数
1
解决办法
2万
查看次数

Spring Integration Java DSL:如何使用channelMapping方法路由到标题中名称的通道?

如何使用channelMapping方法路由到标题中名称的通道?所以如果我尝试这个

    @Bean
    private IntegrationFlow postDataToChannelX() {
            return f -> f
            ...
               .<String, Boolean> route(s -> s.equals("[]"), m -> m
                    .channelMapping(false, "headers['channelName']")
                    .channleMapping(true, ...);
    }
Run Code Online (Sandbox Code Playgroud)

来了

引起:org.springframework.messaging.core.DestinationResolutionException:无法在 BeanFactory 中查找名称为“headers['channelName']”的 MessageChannel。;嵌套异常是 org.springframework.beans.factory.NoSuchBeanDefinitionException:没有名为 'headers['channelName']' 的 bean 可用

spring-integration spring-integration-dsl

3
推荐指数
1
解决办法
1045
查看次数