Spring Tool Suite的Spring Integration图未显示"int-file:tail-inbound-channel-adapter"形象的 [英] Spring Integration graph of Spring Tool Suite not showing "int-file:tail-inbound-channel-adapter" graphic

查看:62
本文介绍了Spring Tool Suite的Spring Integration图未显示"int-file:tail-inbound-channel-adapter"形象的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用带有Spring Integration 4.1.0的Spring Tool Suite(STS)(版本:3.6.3.CI-B2266066,内部版本号:201411050946,平台:Eclipse Luna SR1(4.4.1)).

I'm currently using Spring Tool Suite (STS) (Version: 3.6.3.CI-B2266066, Build Id: 201411050946, Platform: Eclipse Luna SR1 (4.4.1)) with Spring Integration 4.1.0.

我有一个Spring配置XML文件,其中包含集成"和集成/文件"名称空间.我在配置文件中添加了"int-file:tail-inbound-channel-adapter".但是,当我进入积分图"选项卡时,没有看到该组件的图标/图形.

I have a Spring configuration XML file that includes the "integration" and "integration/file" namespaces. I've added a "int-file:tail-inbound-channel-adapter" to the config file. When I go into the integration-graph tab however I'm not seeing the icon/graphic for that component.

示例配置文件:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:context="http://www.springframework.org/schema/context" 
    xmlns:int="http://www.springframework.org/schema/integration" 
    xmlns:int-jms="http://www.springframework.org/schema/integration/jms" 
    xmlns:int-file="http://www.springframework.org/schema/integration/file" 
    xmlns:task="http://www.springframework.org/schema/task"
    xsi:schemaLocation="http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms.xsd
        http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
        http://www.springframework.org/schema/integration/file http://www.springframework.org/schema/integration/file/spring-integration-file.xsd
        http://www.springframework.org/schema/integration/jms http://www.springframework.org/schema/integration/jms/spring-integration-jms.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
        http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd">


    <int-file:tail-inbound-channel-adapter id="apache" 
        channel="exchangeSpringQueueChannel" 
        task-executor="exchangeFileReplayTaskExecutor" 
        file="C:\p2-test.txt" 
        delay="1" 
        end="false" 
        reopen="true" 
        file-delay="10000" />

    <int-jms:message-driven-channel-adapter id="exchangeQueueChannelAdapter" 
        auto-startup="false" 
        destination="exchangeQueueJmsDestination" 
        channel="exchangeSpringQueueChannel"
        receive-timeout="1000" 
        connection-factory="exchangeQueueWMQCachedConnectionFactory" 
        acknowledge="transacted" 
        transaction-manager="exchangeQueueWMQTxManager" 
        error-channel="errorChannel" 
        recovery-interval="20000" 
        task-executor="exchangeQueueReader" />

    <int:channel id="exchangeSpringQueueChannel" />
    <task:executor id="exchangeQueueReader" pool-size="1" />
    <task:executor id="exchangeFileReplayTaskExecutor" pool-size="1" />
</beans>

推荐答案

感谢举报;我为此创建了一个针对STS的 JIRA问题.

Thanks for reporting this; I have created a JIRA issue against STS for this.

这篇关于Spring Tool Suite的Spring Integration图未显示"int-file:tail-inbound-channel-adapter"形象的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆